Hiding "Order Now" button when specific a specific system is chosen from reference field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 05:23 AM
So I have a catalog item, and there i have a reference field for choosing a system on the form,
and for example when system a or system b is chosen, then I want the "Ordner Now", button to be hidden, but with every other system chosen, then it needs to be shown again. Can this be done without scripting?
I have tried to add this into my form with the code:
g_form.setDisplay('no_order_now', false);
} else {
g_form.setDisplay('no_order_now', true);
this is not the full code in the catalog client script, but its not working anyways.
0 REPLIES 0