Restrict the user from creating new row in form

Hey there,
How we can restrict a user from adding a new row in database by clicking the save button that is there in form, based on some data which is created/added at the same time (some flag). 

Quick question: Let's say user didn't sync manually before starting the form is appsheet will sync when he try to add/update the data. If so, which operation will occur first saving the data to database or syncing of the application.

0 1 57
1 REPLY 1

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Aman991 


@Aman991 wrote:

based on some data which is created/added at the same time (some flag). 


If an operation is occurring at the exact same time, there is no way for a user to know what are the data entered by another user, unless refreshing the app first.


@Aman991 wrote:

If so, which operation will occur first saving the data to database or syncing of the application.


Saving the data to database.

Syncing in background will happen every 30 mn or so, provided you check this option:

Aurelien_0-1676970427852.png

 

Top Labels in this Space