Hello again !
I was not able to find such topic in the forum posts, if there is any...
This is what I would like to do:
I have a registration form, where multiple choices can be made...
Course 1, course 2, workshop 1, workshop 2
if course 1 or course 2 are selected, than the text field below should be required..otherwise, it is not required....
I tried to do that by putting cms:if within the input tag , but that does not seem to work. I get an error:
I get this error:
ERROR! ATTRIB_NAME: Invalid char "<"
Any idea how to achieve, that a input is required only under one condition?
best regards
Tanja
I was not able to find such topic in the forum posts, if there is any...
This is what I would like to do:
I have a registration form, where multiple choices can be made...
Course 1, course 2, workshop 1, workshop 2
if course 1 or course 2 are selected, than the text field below should be required..otherwise, it is not required....
I tried to do that by putting cms:if within the input tag , but that does not seem to work. I get an error:
- Code: Select all
<cms:input type='checkbox' name='kurs1' opt_values="Kurs 1 Name=Kurs 1 Name "/>
Your Repertoire (composer, work ):
<cms:input type='textarea' rows="4" cols="30" wrap="physical" name="work1" <cms:if "<cms:not_empty frm_kurs1 />" />required='1'</cms:if>/>
I get this error:
ERROR! ATTRIB_NAME: Invalid char "<"
Any idea how to achieve, that a input is required only under one condition?
best regards
Tanja