Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Validation #99

Open
fazilatsuleman opened this issue Apr 9, 2018 · 6 comments
Open

Required Validation #99

fazilatsuleman opened this issue Apr 9, 2018 · 6 comments

Comments

@fazilatsuleman
Copy link

How to Validate it... that user must fill something in Editor.

@nmohanan
Copy link
Contributor

nmohanan commented Apr 9, 2018 via email

@fazilatsuleman
Copy link
Author

can u plz explain how?

@nmohanan
Copy link
Contributor

nmohanan commented Apr 9, 2018 via email

@fazilatsuleman
Copy link
Author

I am using jQuery Steps Right now... and it has its default validation... if i put required attribute on input field or select or any thing... jQuery Steps Plugin validate it.... but not Validate Editor.... because when see in browser textarea tags hides and a div displays in which user write text....

In my HTML file

<textarea name="petition_details" id="txtEditor"></textarea>

External files:
Editor.js and Editor.css file as from this link

@fazilatsuleman
Copy link
Author

screenshot_1

@xOneca
Copy link
Contributor

xOneca commented Apr 9, 2018

The textarea is not updated automatically when you change something in the editor, you have to setup a callback to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants