Hi,
i have PowerApps Form based on a sharepoint list and want that a button is always disabled when the app is started. Only when a user make changes in a date field, this button must be enabled (for a save (update) action)
I tried this on the OnStart function on the app:
onstart = button1.displaymode.disabled ->> the app ignore this
also tried a varible for the displaymode button: onstart 0 Set(variablename;disabled) -> not working
I only want that this button is not clickable when the app started.
Really looking forward for help.
Thank you
Solved! Go to Solution.
OnStart Set(varbutton,true)
Button Display mode: If(varbutton, Disabled, Edit)
To enable the button, Set(varbutton, false) somewhere else in the app and the button will stay enabled until the app is restarted.
OnStart Set(varbutton,true)
Button Display mode: If(varbutton, Disabled, Edit)
To enable the button, Set(varbutton, false) somewhere else in the app and the button will stay enabled until the app is restarted.
That works excellent. Thank you so much.
Greetings
Andy
User | Count |
---|---|
257 | |
110 | |
90 | |
51 | |
44 |