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 / Forms and displaying d...
Power Apps
Unanswered

Forms and displaying default values

(0) ShareShare
ReportReport
Posted on by 79

Hi. 
struggling with a solution. I have an app. It have 2 forms. Both in new mode. When entering mandatory info in title field in form 1 i submitform, create new form and navigate to screen 2 with a new form. In form2 i would like to have the title info from form1

displayed as default and/or linke form2 to the same info in sp list/form2 so that i can submitform2 without getting errormessage «title is required». Is there i fix for this?

 

thanks. 

Categories:
I have the same question (0)
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Form 2 Title column data card default value:

    Form1.LastSubmit.Title

  • lejo_69 Profile Picture
    79 on at

    Thanks but form 2 datacardvalue on title is still empty when i use form1.lastsubmit.title

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    It should work. But also try this:

    OnSuccess of Form 1:

    Set(varTitle,Form1.LastSubmit.Title);

     

    Then form 2 Title default property:

    varTitle

  • lejo_69 Profile Picture
    79 on at

    Sorry. Datacardvalue in form 2 still empty

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Tested on my side. Works as it should. Please try to do proper debugging on your side.

    a40.jpga41.jpg

  • lejo_69 Profile Picture
    79 on at

    Thank you for your input. I just can’t figure out why that solution don’t work on my side. The data is uploaded to the SP list in form 1 but either i use Vartitle og lastsubmit on the datacard in form 2 the datacard remains empty. 

  • lejo_69 Profile Picture
    79 on at

    Hi again. So all the formulas is set as you described and i get bo error codes. Should work but the fiels in form 2 is still empty. Also tried this in the default datacardvalue of one datacard, but still it is empty. If(form2.mode=new;form1. Lastsubmit.title;parent.default)

     

  • lejo_69 Profile Picture
    79 on at

    Figured out the issue. Your solution was spot on. The issue was that i had submitform and then newform. The newform basically was the issue

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Glad it worked out for you.

  • lejo_69 Profile Picture
    79 on at

    Yes. Thank you. The next issue is how to update the same row in the SP list when submitting form2. It is generating two rows now. Example, in form1 i create and submit some contract info. In form2 i create some customer info. All the info should be saved on same ID in my SP list. 

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard