Jump to content
  • 0

Adding a button to hide fields



Hi everyone 

I know how to hide fields and whole sections on an insert record or update record data page. And I know how to do this based on answers given earlier in the data page.

However I want to add a button that hides - or reveals - a whole section. So for example I could have a heading that says “advanced options” - and a little triangle button that you can click on to hide or reveal the content, and where the triangle points to the right when the content is hidden and points down the content is revealed.

Doesn’t have to be a triangle that moves necessarily - but I’m after something a bit more engaging to the user than having to click a check box or radio button to show additional content.

does anyone have any ideas?

many thanks!


Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

There use to be a Caspio HowTo article on this, but for some reason they removed it.

You can find the code used for this from my answer on this forum post:


Also, here is the YouTube video that went along with the now-deleted Collapsible Section article, it is still useful.



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