Create a Widget to get Variable values from an RITM form and output to Body HTML

Peter Williams
Kilo Sage

Good day everyone,

 

i am looking for a way to create a client controller script to get the Value of a variable on a form, lets call it Login_ID and take that value and encode it in the Body HTML Template

 

example.

 

Vairable value is the windows login.

 

body html:

a button that when press will redirect a user to the website but that website needs to have the login_ID on it

 

window.open('URL Address' + {{ LoginID }}); 

 

please help

1 REPLY 1

Kris Moncada
Tera Guru

Hi @Peter Williams ,

KrisMoncada_0-1718405156792.png

 

Here's a sample widget you can drop into your catalog item, that reads from a variable named login_id.

 

The button then does a sample redirect with the information you typed into the form.

 

Hope this helps. Let me know if you have any questions.