Updating new field in user profile through portal

miriamberge
Tera Guru

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?

2 REPLIES 2

Saurav11
Kilo Patron
Kilo Patron

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.

asifnoor
Kilo Patron

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.