cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Robin1988
Helper IV
Helper IV

How To Prepopulate Field From The Previous Form

hello,

 

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!!

 

10 REPLIES 10
Robin1988
Helper IV
Helper IV

@Atiour thx for the help. Got it!

 

Previous Form:

$(document).ready(function(){
    var currentRecordId = $('#cr5ba_id').val();
    window.localStorage.setItem('vorigeId', currentRecordId); 
});

 

Next form:

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

Helpful resources

Announcements
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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Solution Authors
Users online (3,750)