Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

How To Prepopulate Field From The Previous Form



I have create a button that shows a popup window to assign a note to a ticket. Well now I want the ID or Ticktnumber Prepopulate in my second form (differt table, differt from).. I'm at the right spot because I can enter some pre filled in random text but how can I get the right date from the underlaying form?


So in the portal management in the box Value? Does someone has some ideas what to fill down there?

See attachments :)! Thx!!


Helper IV
Helper IV

@Atiour thx for the help. Got it!


Previous Form:

    var currentRecordId = $('#cr5ba_id').val();
    window.localStorage.setItem('vorigeId', currentRecordId); 


Next form:

    var previousTickedId = window.localStorage.getItem('vorigeId'); 
    document.getElementById("idxat_ticketid").value = previousTickedId;

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

MPP IDEAS updated 768x460.png


Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Top Solution Authors
Users online (3,419)