Hi, what I'm trying to accomplish is having a button "Reset" that when is pressed, it does fill some of the fields in a form, I tried by using a variable in the OnSelect property of the button :
Set(_var;!_var)
the variable is a boolean of course, and in the DataCardValue Default property I put this :
If(_var = true; "17,00"; _var = false; Parent.Default)
So when the variable is true it will show the 17,00 value, when false it shows the value from the source, which is a SharePoint List at the moment.
But when the 17,00 value is displayed, if I submit the form (with a "Save" button), the value on the list does not change.
With this Reset button I am supposed to put this value(which is always the same) in the field/fields(which will always be the same aswell), then submit the form, and then Refresh the source :
If(_var = true; "17,00"; _var = false; Parent.Default);;
SubmitForm(formName);;
Refresh(listSP)
Thanks for any help/suggestions!
ProNewbie