Skip to main content
Nintex Community Menu Bar

K2 mandatory field

  • December 6, 2017
  • 2 replies
  • 57 views

I have a "leave a comment" in a blog. In my K2 item, I have Name, Your email, Your website and Your Message fields.

How would I make the field for Name, Your email and Your Message mandatory so the user can't leave a comment with a blank?

2 replies

Forum|alt.badge.img+9
  • Apprentice
  • December 7, 2017

Hello,

 

You need to use Validate Form rules and set the field as mandatory in it. 

Check the below link and let me know if it helps!!

 

http://community.k2.com/t5/K2-blackpearl/How-to-validate-a-SmartForm-Textbox-for-required-input/td-p/76162

 

 


  • Author
  • December 7, 2017

Thank you. I'm not using smart forms, it is only a basic comment insertions form for a blog in K2. Trying to figure it out without coding.