This discussion is archived
2 Replies Latest reply: Jul 30, 2013 1:19 PM by MannyRod RSS

Package Apps > Customer Tracking > Modal Page > how to pass parameter

itobinh Newbie
Currently Being Moderated
On package application "Customer Tracking", there is good example about Modal Page. Quite simple but it work quite nicely.
The step to create this Modal Page:
- Create new region, set display poinrt: After Header and use region template: Modal Region and set the Static ID (eg. ActivityModal)
- Create the page item and put it on the above region (eyample: Name, Company etc.)
- Create a button, set the action to "Redirect to URL" and enter the URL target to: javascript:openModal('ActivityModal');

Now when you click on the button, the modal page will be display.

My question:

How can I pass a parameter to the modal page, example: I want to pass text 'Johnny' to the Name page item which is on the modal region.

Any idea ?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points