I have two UX components, each on a separate page. I have a text box field who's value I want to pass over to another field on the other page when I click a button, which also goes to the page by using:
window.location = 'Quotes.a5w';.
Each of these fields are linked to different tables. I am having one heck of a time determining what type of variable to use and, after hours of testing, cannot get ANY type of variable to work. This must be very simple and I must not be using the proper syntax. I have been able to use local variables and session variables all coded into a button to transfer the value from one text box to another between two panels, but both panels were within the same UX Component.
The reason why I have them separated on two pages is because One component is a UX that links my Employee Table to to the RegisteredUsers table, and the other is a Contact table which has all of the employee's info. For example, the text box FirstName on the Contact Details form (populated by a contact list on a previous panel) contains the value I want to place in the EmpFirstName text box on the EmployeeUsers form.
Also, being on two different pages, my working and live previews do not work so I have to publish to the server each time in order to test.
I have the session variable in the Contacts UX properties setup as:
SESSION.FIRSTNAME = ""
I reference it as:
{dialog.object}._vars.SESSION.FIRSTNAME
But I do not know how to get that value into the EmpFirstName text box.
I have tried doing so with a default value of:
={dialog.object}._vars.SESSION.FIRSTNAME
and even in the server's onDialogInitialize, but AA shows an error so I am am sure I am not using the right syntax there.
Am I even close? What am I missing?
I have asked so many questions already I hope I am not exceeding a limit here, but I always check the forum, videos and documentation before I post. I am sure I am not searching for the right stuff or even understanding what I am finding, but nonetheless, I am trying.
EVERY response is appreciated and does not fall on deaf ears, but it may take a few responses in order for it to get to the brain.
window.location = 'Quotes.a5w';.
Each of these fields are linked to different tables. I am having one heck of a time determining what type of variable to use and, after hours of testing, cannot get ANY type of variable to work. This must be very simple and I must not be using the proper syntax. I have been able to use local variables and session variables all coded into a button to transfer the value from one text box to another between two panels, but both panels were within the same UX Component.
The reason why I have them separated on two pages is because One component is a UX that links my Employee Table to to the RegisteredUsers table, and the other is a Contact table which has all of the employee's info. For example, the text box FirstName on the Contact Details form (populated by a contact list on a previous panel) contains the value I want to place in the EmpFirstName text box on the EmployeeUsers form.
Also, being on two different pages, my working and live previews do not work so I have to publish to the server each time in order to test.
I have the session variable in the Contacts UX properties setup as:
SESSION.FIRSTNAME = ""
I reference it as:
{dialog.object}._vars.SESSION.FIRSTNAME
But I do not know how to get that value into the EmpFirstName text box.
I have tried doing so with a default value of:
={dialog.object}._vars.SESSION.FIRSTNAME
and even in the server's onDialogInitialize, but AA shows an error so I am am sure I am not using the right syntax there.
Am I even close? What am I missing?
I have asked so many questions already I hope I am not exceeding a limit here, but I always check the forum, videos and documentation before I post. I am sure I am not searching for the right stuff or even understanding what I am finding, but nonetheless, I am trying.
EVERY response is appreciated and does not fall on deaf ears, but it may take a few responses in order for it to get to the brain.
Comment