hide cancel button in desktop version

Hello everyone, I know this topic has already been discussed, but I have an additional problem related to this topic that I didn't find in the community.

I wanted to hide the cancel button in a login form, and I achieved the result in the mobile version using the following formula in the localize menu:

IF( IN(CONTEXT("View"), LIST("Registrazione")),"", "Cancel")

However, in the desktop version, the button has not been completely removed because the button border is still visible. Even worse, the button is still functional, redirecting to another page...

Please see the enclosed pictures.

Immagine WhatsApp 2023-09-25 ore 15.29.49.jpgImmagine WhatsApp 2023-09-25 ore 15.29.22.jpg

Any suggestions?

Thanks in advance.

Solved Solved
0 6 748
1 ACCEPTED SOLUTION

I felt I should reply here as well as the Desktop Main thread.

It is not possible, at this time, to eliminate the Cancel button.  The real bug is that we are able to change the Cancel button label to blank when the real intent was to just be able to rename the button.


@ivanangel wrote:

and this is a problem because users can access the app without signing in...


This seems to be your main concern...that users can access your app without signing in and I presume then CANCEL out of the Form.  Your intention is that they MUST fill out the form.

It appears your goal is to create your own login in process.  This is not recommended but if you insist then it should only be done IF you do not require an extremely secure app.  Since this type of app has no way to know who the actual user is, accounts can easily be shared and/or spoofed.

If security is critical for your app, then you will want to use the built in security AppSheet has provided.  It uses proven authentication providers with the option of 2 Factor authentication.

Good luck!

 

View solution in original post

6 REPLIES 6
Top Labels in this Space