Input parameters to a Script Include question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 12:33 PM
I am trying to pass an input parameter to a Script Include which is being called from a default value field of a change_request table. Provided below the code used in the default value field, but I noticed that 'current.type' is being passed as empty to Script Include even though the value of the type field is 'Normal' on the form. Why?
javascript:new ABCClientUtils().testFunction(current.type);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 02:29 PM
yes Pradeep. As soon as the record created from the record producer and launched in the platform in the Draft state, the field type is set to 'Normal', but am I expecting the default value even before a value is assigned to type field? Scenario is, Record producer creates a record, I am able to see the type set to 'Normal' at this state, however I am expecting the default value to display at the same time.