Jump to content
  • 0

InlineEdit: Disable field on condition


CClabaugh

Question

I've searched all the forums for how to do this and can't find the way that works.

I need to look at the fields of data that show when a user clicks an inline edit button of data. If certain field data in that row meets certain conditions, I need to turn off a checkbox in that same row.

For example, if field1 is empty, then I need to turn off the checkbox in field 2.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi! If you would like to apply this article: https://howto.caspio.com/tech-tips-and-articles/disabling-inline-edit-option-in-reports-based-on-a-condition/ when Data Grouping is enabled.

You can change the code from 

const calculatedFieldPosition = 1

to

const calculatedFieldPosition = 2

 

1700735

 

Make sure that the Calculated Field (formula/condition) is in 2nd place of the DataPage Elements and the first is the field for Grouping.

Sample Result:

image.png

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