Choice Field

rss

Posted by schuess - Jul 3 ’14 at 09:29

1. How do you set a choice field to be required?

2. How do you validate that a choice field has been "checked" or "Not(!) checked"?

 

Thanks

schuess

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 7 years 10 days
    #1 by Dmitry Kozlov Jul 7 ’14 at 03:51

    Hi,

    Do you mean to make a field to be required dynamically? If so, just add custom validation into onsubmit handler. Here is a sample:

     
    fd.onsubmit(function() {
    	if (fd.field('Choice').value().length == 0) {
    		alert('Please, fill in the Choice field.');
    		return false;
    	}
    	return true;
    });
    
  • acquiro
    Member
    Member for: 4 months 7 days
    #2 by acquiro Jul 7 ’20 at 11:59
  • dflynn742
    Member
    Member for: 2 months 17 days
    #3 by dflynn742 Jul 16 ’20 at 04:05

    Customers can easily connect with the most genuine and certified exterminators with the help of Pest Control Glendale AZ helpdesk in a more reliable manner. We make sure that customers get in-depth and satisfactory solutions within no time.

  • dflynn742
    Member
    Member for: 2 months 17 days
    #4 by dflynn742 Sep 2 ’20 at 11:15

    Geek Squad Tech Support technicians have their work cut out for them. Simply get them on the phone, and we will convince with our actions that this is the best way make your malfunctioning and defunct device back to work within minimum time and no hassle at all.

Displaying 1 to 4 of 4 messages