Show/hide field based on price change

OlaT
Tera Contributor

Hi,

 

I have a Catalog Item where the price is being build based on choices in select box variables. 

 

I want to display a variable if the price reaches above a certain treshold. 

 

From my understanding i cannot get the price of a select box variable choice client side, i cannot write catalog ui policies based on the catalog item price changing and i cannot get the sys id of a specific variable in a client script either. 

 

I understand that i could create a function in a client callable script include to get the price value of the question/choice by using GlideAjax but i refuse to create such a function only to be used for one specific variable. If i'm doing that i want to make it reusable which i could do if i could get the variable name or variable sys id client side. But as said, this is not possible.

 

So, how can i get the price on change (either from choice change or catalog item price change)?

0 REPLIES 0