how to pass the data/Object from client script to processing script in catalog item

String
Kilo Sage

Hi Team ,

I have created a variable get Price button in catalog item and when we click on get price button am collecting field values in client script but am enable to pass the values to processing script as below ...so I can call the script include from process script and string to return to client script and set values to catalog item 

 

Screenshot 2023-04-02 at 1.40.01 PM.png

 

Screenshot 2023-04-02 at 1.40.14 PM.png

 

Please guide me with correct syntax 

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage
Tera Sage

@String ,

 

I believe processing script works when a form gets submitted, for your scenario best possible way is you can make 

GlideAjax call directly in the client script and perform server side operations and return the data and set data using g_form library.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

 

 

View solution in original post

1 REPLY 1

Prince Arora
Tera Sage
Tera Sage

@String ,

 

I believe processing script works when a form gets submitted, for your scenario best possible way is you can make 

GlideAjax call directly in the client script and perform server side operations and return the data and set data using g_form library.

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.