Clear select field
Hi !
I have a selection field named "Abonnement ou pack prépayé" which is a mandatory field and which is only displayed if another yes/no field named "Prestation vendue en forfait" has a true value.
Sometimes we make the mistake of putting yes in the field "Prestation vendue en forfait" which displays the second field "Abonnement ou pack prépayé" that we select with a value of 1 or 2 because it is mandatory.
I would like that when the yes/no field is set to no again, the second field "Abonnement ou pack prépayé" removes all the values already checked. Is it possible ?
The checked value of the "Abonnement ou pack prépayé" field involves other processes in my tables and this is why I have to delete this value when it should not be displayed.
Thank !
2 replies
-
Hi Sebastian,
I am not sure if I got you, but cant you just uncheck the yes/no field, put it to 'no'?
you can add an button and put the following code:
for i in select TableName do
i.('Abonnement ou pack prépayé' := null)
end
Content aside
- Status Answered
- 1 yr agoLast active
- 2Replies
- 83Views
-
2
Following