Hi, i m trying to accomplish form in modx revo, basically there are some textfields (like name, phone, email, message), then there is a checkbox "I want to book course". If user click on this checkbox new options will appear, the set of checkboxes populated with children resources from one parent resource and then 2 fields for date and additional comments.The problem i have, that these fields that appear after checking "I want to book course" should go through formit validation, but just if user check the "book course" option.
Or do it all different way, that in the beggining there will be a select box with options,for example: "Just want to ask question" and " I want to book course", depending on what user will select new options will appear in form.
Any suggestion how to accomplish this ?