Hiding Catalog Variables AFTER submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-24-2010 08:44 AM
HELP!!
I'm having trouble getting the show/hide functionality to work on catalog variables after the request has been submitted. THe show/hide works great when the form is being filled out but is lost after it is submitted. I've tried using the UI policy in the sc_req_item table and I've tried using client scripts during onload for the same table, bot with no success.
Any ideas??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2015 11:31 AM
I ran into the same problem. I need the user to be able to fill in information in certain fields but make them only visible to certain group after submission--for security reasons
What i did was created an extra field on the form, make it only visible to admin, set the value to "old request" using a onSubmit script.
create another onLoad script to check if the field value is "old request', then to make selected fields only visible to g_user.hasRole(xx)
also, make sure you apply those catalog client scripts (select true) on catalog tasks and requested items.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2015 09:43 PM
I ran into the same issue and we have used scratchpad. I think that is the best way to use it. Some times only client script and UI policy won;t allow you to make fields visible to certain groups.