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
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (3,672)