Make a field to true by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 07:47 AM
I created an Active field with True/False type. I have given the default Value as true in Dictionary as well. But on the form, I do not see the Active as true i.e., Active check-box is not true.
I really appreciate for your valuable answers
Thanks,
KP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 07:59 AM
Hi Jack,
The records already present before adding default value of active to true will not reflect their active value as true.
Create new record to this table . All new records will be defaulted to active true.
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 08:01 AM
Hi Mihir,
I have 1000's of pre-existing records. Is it possible to make them true as well.
Thanks,
KP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 08:03 AM
Yes Jack,
You need to run a back ground script and set all record active true.
Thanks,
Mihir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2016 08:35 AM
Hi Jack,
You can write a client script : SNOW - Active True
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('Active','true');
}
Mark if it is helpful or correct, feedback is appreciated
Thanks