Jump to content
  • 0

Required fields depending on selection




I have some Data pages where I need to make required some fields depending on a selection above.

For example:

have a radio button with a YES/NO question, if customer selects YES a some fields becomes Required.

Is there a way to do that?

I want to keep Caspio required fields format, so when they submit it displays the top message "

You did not enter valid information in one or more of the fields." and te required image next to that field.

Cheers!! :wink:

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0


This is not a standard feature of Caspio. It could be done with Java Script. If you use Java Script the fields are being controled from the client side however Caspio regular validation is being take place in the server side so you can not keep the Caspio validation feature if using Java Script.


Bahar M.

Link to comment
Share on other sites

  • 0

Hi @Jona,


Based on my understanding, what you want to achieve is doable using a standard feature of Caspio. You just need to add rules on your web form.

On your DataPage > Configure Fields > Rules, set your preferred criteria and action to be done.



For more information regarding this, you can refer to this link: https://howto.caspio.com/datapages/forms/conditional-forms/






Link to comment
Share on other sites

  • 0

Hey there, just want to add some information about the desired workflow. Yes, using conditional forms will help you achieve this. If you wanted to have a group/multiple fields to be required when the user selects the radio button with Yes/No, you can  insert a section containing the appropriate fields and apply the Action to that section. Please be aware or be guided in this video tutorial that is great for starting this workflow. Here is the link: 

 Hope this helps you out guys! :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...