Visible Condition and Allow Empty Value in Bizforms

Mark Wilson asked on May 20, 2014 16:31

I have a Bizform where we ask customers to select their preferred method of contact E-Mail, Phone or No Preference.

If E-mail is selected the E-mail field will be visible, If Phone is selected then the Phone field is visible if no Preference both fields are visible.

Is it possible to set both fields to be required but still allow the form to validate if they only select one option?

Recent Answers

jack Ryder answered on May 20, 2014 22:21

For your Requirement,I think bizforms Does not Support Custom Validation like as jquery. So you have to Change in the base code of bizforms if you want to achive your Functionality.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 21, 2014 06:32

You can add jQuery to your Form and add some validation to it. You will need to use a custom form layout. This is where you will add your scripts and fields. Not the easiest thing to do but it can work.

Another option might be you leave the field as NOT required and create a validation rule based on visibility. If its visible, say its required. If not, let it be. You should be able to do this within the rule designer in v8.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on January 29, 2016 16:23

I'm trying to do something similar with no luck. I have a field that is hidden based on another field (which works fine) but when it is visible I want it to be required. I tried setting a min length rule on the field but it only checks when there is text in the field, if it is left empty it ignores the rule.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.