web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Submit of form results...
Power Apps
Answered

Submit of form results in missing value in Dropdown and Combobox

(0) ShareShare
ReportReport
Posted on by 130

I have a form in which there is values that I would like to use in 13 other forms...

(when the user submits the main form, the other 13 are submittet in the background)

 

jlkeas_0-1702475544912.png

The values that I need on the 13 background submit is saved as global variables... (also in order to reuse the information later - as the next submit might be based on the same values = less data to enter)

 

This is the code for the submit-button:

Set(CurrentSagKunde;ComboBox1.Selected.Kundenavn);;
Set(CurrentSagKundeKontakt;Dropdown1.Selected.Kundekontaktperson);;
Set(CurrentSagNavn;DataCardValue5_1.Text);;
Set(CurrentSagKundeRef;DataCardValue11.Text);;

SubmitForm(Form1);;
SubmitForm(Form1_1);;
SubmitForm(Form1_2);;
SubmitForm(Form1_3);;
SubmitForm(Form1_4);;
SubmitForm(Form1_5);;
SubmitForm(Form1_6);;
SubmitForm(Form1_7);;
SubmitForm(Form1_8);;
SubmitForm(Form1_9);;
SubmitForm(Form1_10);;
SubmitForm(Form1_11);;
SubmitForm(Form1_12);;
SubmitForm(EditFormSager_Opret);;

Navigate(Screen_Forsiden; ScreenTransition.None)

 

When it reaches the red code it is the form above that is submitted... But now the information in the form marked with green is empty and nothing is saved to sharepoint regarding these variables...

 

If I create another button with on the submit of the form above it works fine... So somewhere above in the code the information is changed...

 

Here is the code for the Dropdown and the Combobox... (Default is set to be the values in the global variables)

jlkeas_1-1702477020901.pngjlkeas_2-1702477040792.png

Wkr Jørgen

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @jlke-as ,

     

    You could use this formula to submit the form and the from will not be refreshed.

     

    Patch(DataSource,BaseRecord,FormName.Updates)

     

     

    Best Regards,
    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard