Make an order guide variable "ReadOnly" on "choose options" tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2017 08:58 AM
Hi,
I have a field "Beneficiary" on an order guide . This field is populated on the order guide form.
I wrote a catalog client script to make it readonly on the first tab .
When I go back by clicking on " describe needs" button, I want the beneficaiary field can be editable.
My catalog client script is :
function onLoad() {
if (g_form.getParameter('sysparm_active')!='') {
// this stuff only runs if catalog item is viewed in Order Guide
g_form.setReadOnly('Myvariable',true);
}
}
So I want that when I am on "describe needs" tab the "beneficiary" field to be readonly but not on "choose options" tab.
Thanks you in advance for you help !
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018 07:10 AM
hi arouna,
have you get the answer for this, please share your thoughts for this if you got this,
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2020 10:54 AM
Looking for same have you got this worked?