Set value of field not present on form using client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2014 09:00 PM
Is it possible to set the value of field which is not present on form but on table using client script.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2014 08:32 PM
Hi Ganesh,
If you are worried about the Field's visibility on the Form, then you can simply Add the Field to the Form and then Define a UI Policy that will keep the Field Hidden Perpetually.
Now you can work on your Field with Regular Client Scripts.
Thanks,
Subhajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017 08:48 AM
Hi,
I have created a new field on my form called Requestor email. I would like to auto populate this field with the value from email field (auto populated from email address field on user table) on the same form if the value of another field is true. I have created a Business rule but cannot select new field is the same as the other field, so I would like to use a script. I have been unable to get this to work, any suggestions on how to get this working properly.
condition: current.u_send_update==true
script:
(function executeRule(current, previous /*null when async*/) {
// Add your code here
setValue(current.u_requestor_email, u.email);
})(current, previous);
Thanks,
Lorenzo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2017 08:55 AM
would also like to clear value of the field if the field is false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2016 01:20 PM
Have you found the solution that works without using any client script?