September 15, 2014 at 10:42 pm #319461
Hi – I think is probably a long shot but you’ve always been so helpful I thought it was worth asking! I’m using Gravity Forms on the website and I have set up a set of checkboxes. I need to set it so that when when the checkbox for ‘Felling’ is selected, the other checkboxes are either hidden or disabled. I’ve found this code:
new GFLimitCheckboxes(FORM_ID, array( FIELD_ID => array( 'min' => MIN_NUMBER, 'max' => MAX_NUMBER ) ));
to add to the functions.php file which limits the number of checkboxes that can be selected at one time, but I don’t have enough knowledge to tweak it to suit my needs – can you help?
KathrynSeptember 15, 2014 at 10:44 pm #319464September 15, 2014 at 11:15 pm #319476
Yes I have – I’m afraid they’ve said that it’s not a standard feature of Gravity Forms. They’ve suggested an add on that I could purchase which might help but I’ve tried to contact the add on author to clarify that it will allow me to specify a particular checkbox and unfortunately I can’t get a response.
I thought I might be able to tweak the code that I’ve attached above to do the job? I suppose it’s more complicated than that … ?
KathrynSeptember 16, 2014 at 7:59 am #319628September 16, 2014 at 10:13 am #319694
Hi – fair enough, I thought that might be the case. As an alternative, if I put felling as a single checkbox and then list the rest of the checkboxes separately and then use conditional logic to hide them if somebody selects, Felling, is there any custom code that I could use to reduce the amount of space between the single felling check box field and the list of checkboxes below?
KathrynSeptember 16, 2014 at 10:39 am #319701
The topic ‘Gravity Forms Checkbox Limitations’ is closed to new replies.