Updating new field in user profile through portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 10:43 AM
I added a new field to the sys_user table. I need to have some validation associated with this field, so have added an onchange and onsubmit client script, both set to run in "All" user interfaces. The scripts work fine in the standard interface, but when navigating to the user profile page in the portal - how do I add validation to a change to one of the fields displaying? The view the user sees is ess view in both standard and portal - and if it isn't possible to add scripting on those fields in the portal, what is the recommended way to allowing only edits in the standard interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 11:22 AM
hello,
You need to update the widget on which the user form is visible on portal only then those validation will be available.
Please mark answer correct/helpful based on Impact.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2022 11:31 AM
Hi,
You can add a separate client script to work only for view ess. in the client script, uncheck Global option, then a view field appears where you can mention your view. Then this script works only in that view.
Mark the comment as a correct answer and also helpful if this helps to solve the problem.