I want to create a form with two controls(radio button and file upload), with Web Forms for Marketers in Sitecore. Something like this:
- Yes
- No
(File Upload here) (Browse button here)
If the user checks Yes radio button, the file upload will become mandatory. Otherwise it's not a mandatory field.
How do I make this possible? The Sitecore documentation only has very limited information. I was trying to create a user control and implement validate user control class, but I was stuck because have no idea with the functions I need to override.
Suggestions?