Forums

Checkbox group based on a checkbox (custom validation)

ch-marchand 25 Mar, 2014
Hello,

I just buy a licence for Chronoforms🙂
This is a very good product but i'm tied to the custom validation. (Load JS + Class)

I have a checkbox where the user chooses if he desires a sound system (Yes or no)
I have an another checkbox group where the user can choose one or more rooms (room 1, Room 2, Room 3-4, Room 5, scout field)

I would like, if the user chooses Yes on the first checkbox, it is obliged to choose must be room 1, or room 2 (or both) but it must at least select one of these two leaving the possibility to choose one of the other rooms.

Could you help me to implement this on load JS and a custom validation on checkbox group (rooms) ? and where class required can be located ?

Thanks for your help.
Best regards,
GreyHead 26 Mar, 2014
Hi ch-marchand,

You will need to write some custom JavaScript to get this special validation to work. Please see this FAQ

Bob
ch-marchand 26 Mar, 2014
Hi,

I tried writing à script but it doesn't work.

I don't know very well JavaScript then i need your help To propose me a first quickly work.

I bought a licence To obtain à support. Please give me a purpose.

Thanks
GreyHead 26 Mar, 2014
Hi ch-marchand,

I'm sorry, I don't' have the time to write custom JavaScript for you. You will find some similar examples in the forums here if you search around.

Bob
ch-marchand 27 Mar, 2014
Hi,

I don't have the Time too, as you... but i take the Time To obtain a licence for having a good support because i really blocked on this last think... and i already pass more Time To try an exemple on forum before writing.

I demand you just this small help.

Can you take just a little time ?
Thanks
This topic is locked and no more replies can be posted.