Solved

Summernote required

Posted on 2016-10-13
3
185 Views
Last Modified: 2016-10-13
I am using summernote as my HTML editor. but I am trying to make the textarea required. Unfortunately is not working. Is there a different way of making summernote requiered ?

This is my code:

    <textarea id = "summernote" name = "summernote" class="summernote" required></textarea>

Open in new window

0
Comment
Question by:amucinobluedot
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 41842017
you're going to need to add some javascript according to their docs:

http://formvalidation.io/examples/summernote/
0
 

Author Comment

by:amucinobluedot
ID: 41842050
Thank you senior!
0
 

Author Closing Comment

by:amucinobluedot
ID: 41842052
Thx!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question