10
Views
5
Comments
Solved
Ask for Pin before delete
Question

Hello,

Is it possible to ask for a PIN number before running the delete action?


Thank you in advance,

Yomarie Hichez

Rank: #89
Solution

Hi Yomarie,

Why you dont use IF widget based on role if user have ability to delete (Based on role) then show button else not show.

it is best way rather than ask pin on every delete action.

I have attched oml , and provided both way find it 

Hope this will help you.


Regards

Rahul Sahu

PinOnDelete.oml

Rank: #89

Hi Yomarie Hichez ,

What is mean for Pin number.

you can do it only you will need to open a confirmation message before delete.


regards

Rahul

Rank: #36541

Hello Rahul, 

What I'm trying to do is to activate the delete action only if the user enters a correct PIN number, this in order to not let everybody to use the button. A confirmation message can only display a message or can ask for an input?  I'm building a reactive web app.

Rank: #89
Solution

Hi Yomarie,

Why you dont use IF widget based on role if user have ability to delete (Based on role) then show button else not show.

it is best way rather than ask pin on every delete action.

I have attched oml , and provided both way find it 

Hope this will help you.


Regards

Rahul Sahu

PinOnDelete.oml

Rank: #36541

Really helpful,

Thank you very much Rahul Sahu! 

Rank: #89

Welcome Yomarie, 

Glad to help you.


Regards

Rahul Sahu