Two radio buttons. If the user select one of them a textfield should appear where the user is able to set some detailed information. If the user selects the other one this textbox should disappear
You'd have to do that with JQuery. Attach an event to the onload of the page with the form in it to hide the textbox and its associated div/labels. The attach an event to the radio button so that if it is selected, the textbox appears, and if it isn't it vanishes again.
yes but how can i attach events to the radio buttons with contour form wizard?
Is there no easy way to include this in the form wizard? Because i need this feature on more then one form. ALso it should not be done by an IT person it shoul be able to be designed by the marketing people who are creating all the forms.
It would be great to include this in contour so they can just say "if the user clicks here this fields should be shown). Or something like this
You can't. Contour doesn't do any kind of conditional field logic out of the box. That's why you have to do it with JQuery I'm afraid. There's not even an easy way to create a custom field that would do this either AFAIK I'm afraid! You could ask Tim G if he could add this as a feature, I know its been mentioned before.
He's a member of the core team. He usually checks on here and answers stuff. You could try the contact form on the main Umbraco site as well. His profile is: http://our.umbraco.org/member/1171
Dependend fields in contour
Hello,
ive got the following scenario:
Two radio buttons. If the user select one of them a textfield should appear where the user is able to set some detailed information. If the user selects the other one this textbox should disappear
How can this be done with contour?
Thanks
Any Idea?
Hi Dominik,
You'd have to do that with JQuery. Attach an event to the onload of the page with the form in it to hide the textbox and its associated div/labels. The attach an event to the radio button so that if it is selected, the textbox appears, and if it isn't it vanishes again.
Hope that helps!
yes but how can i attach events to the radio buttons with contour form wizard?
Is there no easy way to include this in the form wizard? Because i need this feature on more then one form. ALso it should not be done by an IT person it shoul be able to be designed by the marketing people who are creating all the forms.
It would be great to include this in contour so they can just say "if the user clicks here this fields should be shown). Or something like this
Hiya,
You can't. Contour doesn't do any kind of conditional field logic out of the box. That's why you have to do it with JQuery I'm afraid. There's not even an easy way to create a custom field that would do this either AFAIK I'm afraid! You could ask Tim G if he could add this as a feature, I know its been mentioned before.
Is Tim G available in this forum? or where can i contact him?
He's a member of the core team. He usually checks on here and answers stuff. You could try the contact form on the main Umbraco site as well. His profile is: http://our.umbraco.org/member/1171
Thanks TIm, but there is no "pm" or "email" link on his profile. So i have to use the global contact form on umbraco.com?
I'd use the contact form on Umbraco, or you could try Twitter, his account is on his profile!
:)
is working on a reply...