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 / Start new form without...
Power Apps
Unanswered

Start new form without editing new field.

(0) ShareShare
ReportReport
Posted on by

Dear Community,

 

 I have spent my whole yesterday to find the solution but couldn't.

I have multiple questions

I have a form, where the datasource and target is a sharepoint list.

I have 3 different fields (lookup, combo box and text input (this is the most)).

What i do:

1. Submit(Form1) - to submit the request

1a: OnSuccess (Navigate to screen3)

2. On Screen3 i have a start a new form button which: NewForm(Form1);Navigate(EditScreen2, None);ResetForm(Form1)

 

What i want to achive:

I would like to keep few fields to be filled from the previous submit, but delete/reset the rest of the fields.

 

What i have tried so far:

I have created a ResetCheckBox variable and added to those fields 'Reset' part what i want to reset on a new request.

Created a new button on the Screen3 (Called 'New Request with the previous data'), added this command:
NewForm(Form1);Navigate(EditScreen2,None);UpdateContext({ResetCheckbox:true});UpdateContext({ResetCheckbox:false})

 

But it is not working. What should be the solution?

 

My second problem:

I have one Lookup datacard field, where the datasource is a Choice list from the Sharepoint list. How can i set a default value for that or avoid to reset from the previous submit?

 

Thank you

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

    Hi @Anonymous ,

     

    About 1st question:

     

    For example, you can set below formulas in the dropdown control of choice column data card to keep the previous selected option:

    Dropdown1.DefaultSelectedItems={'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id:EditForm1.LastSubmit.choice,
     Value:EditForm1.LastSubmit.choice.Value}
    

    For 2nd question:

    Likewise, set below formulas in the Dropdown control of lookup column data card:

    Dropdown1.DefaultSelectedItems={'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
     Id:EditForm1.LastSubmit.Lookup.Id,
     Value:EditForm1.LastSubmit.Lookup.Value}

    Regards,

    Mona

     

     

     

  • panand99 Profile Picture
    641 on at

    @Anonymous 

     

    First Problem: If you want to pre-filled the field from your previous data, then you can use the ID of previous record and sets the default value with lookup function.

     

    Second Problem; You can set the defualt value of lookup field when the formmode is new and ID is blank.

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-monli-msft , 

     

    Thanks for the exampels, can you please help me out wiht Lookup field and Textinput field examples as well?

    Where i have to put that? Into the 'Default' ?

     

    Thank you 

  • v-monli-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    I have already give the formula to use in the lookup column in my first reply. Please check.

     

    For textinput control, just set the text you want to use in Text property of the textinput control like:

    TextInput1.Text="Words you want to say here."

    Regards,

    Mona

  • Community Power Platform Member Profile Picture
    on at

    Hi Monli,

     

    Thanks, it did not work, but i don't have time now to working on this 😞

     

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