Setting default value for specific views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2018 01:33 PM
Hi Everyone, is there a way to set different default values for specific views?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2018 01:36 PM
Hi,
Please provide some more details as to what you want to accomplish?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2018 01:37 PM
Can you elaborate more. Which value do you want to set on what condition?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2018 01:43 PM
Sorry for my lack of detail! Basically I have a form with a couple different views and I want to specify a default value for a field for only one of the views. For instance, I have a field called Question Category and I want the default value to be 'HR Question' only for the 'HR Question' View. Is this possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2018 01:49 PM
it is possible.
what you need is following:
1) an onload client script which would check if the current view is HR Question or not.
IF it is it would auto populate the field's value to 'HR Question'.
2) an onchange script that would basically do the same as the above client script, except it would work if someone is switching between the views