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: 9 years 8 months 7 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: 3 years 3 days
    #2 by acquiro Jul 7 ’20 at 11:59
  • dflynn742
    Member
    Member for: 2 years 10 months 13 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 years 10 months 13 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.

  • skytaxitw
    Member
    Member for: 7 months 10 days
    #5 by skytaxitw Oct 19 ’22 at 06:31

    The topic here i found was really effective to the topic which i was researching for a long time

    Thanks for Sharing

    Taxi Tunbridge Wells

  • Dirid
    Member
    Member for: 7 months 14 days
    #6 by Dirid Oct 28 ’22 at 09:36

    We can define visual therapy as a Visual Learning Center personalized treatment prescribed to develop, improve or enhance certain visual abilities, the change of which interferes with the normal visual process!

  • virkbarristers
    Member
    Member for: 6 months 20 days
    #7 by virkbarristers Nov 9 ’22 at 05:30

    Hinthunt Canada is leading Escape Room Canada providing team building and birthday party entertainment with a thrilling 10 minute escape game that puts your wits to the test!

  • jamesjakson
    Member
    Member for: 6 months 12 days
    #8 by jamesjakson Dec 16 ’22 at 02:40

    I also want to add to choice field in my site it is best feature i want also in my website.

    Reliable Furniture Assembly and Disassembly Services Redmond WA

Displaying 1 to 8 of 8 messages