1

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?

1 Answer 1

1

From my personal experience with custom actions on Webforms for Marketeers forms I would say this would typically be a use case in which you should develop your own form and not use Webforms for Marketeers functionality. With alot of coding / configuring you should probably in the end be able to set it up like the description you give, but I think you would be better of creating a form yourself in this scenario. I have been able to do alot with Webforms but there certainly are some constraints eventhough alot is possible.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.