Disable "Add" but enable edit if row is already filled with entry data

Hello,

I know there are similar use case or questions for this. Basically, what we want is for the user to initially โ€œAddโ€ a data. or initially meaning โ€œNewโ€ data.

Then after it gets filled in, disable the โ€œAddโ€ button.

I know, we can used the โ€œkeyโ€ features but the users are reporting it as bug as the โ€œAdd buttonโ€ was there rather than it being edited directly.

3X_1_4_145d6925f02bab580802c4d8f7ef50bb4eac88b0.png

0 3 613
3 REPLIES 3

Hey @Iggy_Villanueva, welcome to the community.

First: you might check out the following post; itโ€™s full of tons of helpful tips to help you get stared with using the community to find answers.


To answer your question

  • Two parts to this:

    1. Hide the โ€œAddโ€ action under the inline view

      • Youโ€™ll need to hide the system-generated โ€œAddโ€ action
      • Create a replacement action with LinkToForm()
    2. Take over the โ€œview event actionโ€ for when the record is tapped in the inline table

      • Make this the โ€œEditโ€ action instead of โ€œAutoโ€

-----| Table of Contents |-----
0:00 - Intro
0:45 - Answer begin
1:45 - View event action - EDIT
3:13 - Hide an inline-viewโ€™s (ADD) button
4:54 - New conditional (ADD) button
7:15 - Pushing parent REF into child-record
9:29 - Conditionally hide action base on child-records


I found this post after I made that video.

  • That post is nearly 2 years old now. wow!

Oh my, My heartfelt gratitude for this one. I am literally in joy and awe as you created a video specifically for my inquiry.

This truly means a lot to us amateurs, and I am looking more to improve and be active in this community.

Thanks

Top Labels in this Space