In my form in my Glide App, I have 2 e-mail fields. By default, the second one should contain the same value filled in the first field. The second field is invisible by default and becomes visible when a switch is checked, to fill in a different value.
To get the same value in the second e-mail field by default, I did this as a custom action. But it does not work, the value stays empty upon submission. What should I change to achieve what I want?
Hi.
If your second email column is the same as the first one by default, will it stay like that forever, or in some cases user will be able to change one of them? Because, if it will always be the same, why have two email columns that are identical.
Sorry, not truly sure about your switching logic so I will not try to resolve it anymore. I don’t want to bring any confusion
Only, the thing @ThinhDinh mentioned, I think that you are trying to set column value to an existing row so that should not be a problem. That row is already present.
This is true. The action to add the row does not relate to the setting value flow in my method. That row is already created, and you leverage the action to open the row’s details view to set a value to that row.