Jump to content
  • 0

Conditional Required Field



ok I am really hoping someone can help on this one...  it seems easy I just can't seem to get it!


I have a conditional field (PO) that based on a flag is hidden (RequirePO flag when set to false the PO field is hidden), but what I really want to do is if the flag is false hide the field, if it is true require the field....


It look like the rules in Caspio can either hide it or require but I cant do both (I even tried setting two rules but it looks like if you use a field in a rule it cant be used again)...


maybe a javascript solution? 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello James,


Can you create a section, that will contains only this field?

If yes, you can add two Rules:

- if the field is true, make the field required;

- if the filed is false (or is not true), make the section hidden.


I hope it helps.

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...