Jump to content
  • 0

hiding fields with condition in submission form


haxx0r

Question

5 answers to this question

Recommended Posts

  • 0

You can do this using CSS custom code. In Submission Forms and details pages you can hide multiple fields by surrounding them with HTML table tags and setting the table’s display style to “none”. but to use this with condition, you may follow this step:

first create a HTML block and use this code below:


<style>
  [data-css="value_of_your_parameter_or_field"] {
    display: none;
  }
</style>
<table data-css="[@name_of_your_parameter_or_field]">

and on your second HTML Block

</table>

make sure that you place the fields that you wanted to hide between the two HTML tags. 

Link to comment
Share on other sites

  • 0

Haxxor

Did this answer your question?  Not sure it does.  Im facing same issue.  Never suspected a conditional rule to Hide Field actually omit data from the table.  For mine, I have some radio buttons with a default "No" value.  However, that field can be hidden based on another condition rule. But I still want that default No value for it to appear in data table.  Instead I get blanks.  They should rename Hide field to Hide field/Omit Data.

Would love to prevent this.

Feel free to vote to make this not happen:  https://caspio.uservoice.com/forums/164206-caspio-bridge/suggestions/44905339-prevent-a-hide-field-rule-from-actually-omitting-t

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.

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

Loading...
×
×
  • Create New...