Hi Support Team,
Is there a way to pass a parameter to pui.alert :
pui.alert("Process completed successfully") => pui.alert(ZONEPARAM)
where ZONEPARAM is for example 30 CAR
Thanks for your help
pui.alert
-
- New User
- Posts: 19
- Joined: Fri Jan 09, 2015 5:21 am
- First Name: Patrice
- Last Name: Vincent
- Company Name: Saphir Systèmes
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: pui.alert
You can bind your 30 CHAR parameter to a hidden widget, such as a hidden textbox or output field.
Then you can retrieve it's value in JavaScript using the get() API. So you could code something like:
Good luck
Then you can retrieve it's value in JavaScript using the get() API. So you could code something like:
Code: Select all
pui.alert( get("Textbox1") );
-
- New User
- Posts: 19
- Joined: Fri Jan 09, 2015 5:21 am
- First Name: Patrice
- Last Name: Vincent
- Company Name: Saphir Systèmes
- Contact:
Re: pui.alert
Hi Scott,
Yes it works perfect, Thanks (again) !!!
Yes it works perfect, Thanks (again) !!!
Who is online
Users browsing this forum: No registered users and 0 guests