cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bmarcowka
Helper I
Helper I

On Select update field

What is the "On Select" statement to update a field (example below) from a blank value to an "Y" value when you select a Submit Form?

 

SubmitForm.JPG

5 REPLIES 5
RakeshPandey
Helper I
Helper I

@bmarcowka You can set a variable OnSelect of the icon and make the default value of TextInput is equal to that variable. You need to set the variable before submit form operation. So you code look something like below.

Set(textvalue,"Y");SubmitForm(Form1);Back()

Remember to TextInput Default is equal to textvalue.

 

Correct me if I am wrong but shouldn't it read?

 

Set(MANUPDATE,"Y");SubmitForm(Form1);Back()

 

With MANUPDATE the field I am looking to update.

 

Thank You

Here you are assigning MANUPDATE variable is equal to "Y". And make the deault value of the TextInput is eqaul to MANUPDATE. So when we click the button the default value will become "Y". Another way is you can use PATCH function to update the item in SharePoint list or any other datat source.

The process is writing to the table as expected however it is writing a value of "N" not "Y".  

 

Any idea why?

Are you passing "N" value at any step of your code or application? If yes at which place; during variable creation?

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (43,321)