Is it just me, or does g_form.modified not work in the Portal?

ctsmith
Mega Sage

I'm trying to prevent a user from submitting a catalog form if no fields have changed... after they have.  In this case, a user selects a CI they want to edit, and x number of fields are populated based on what CI they've chosen.  If they hit submit, it'll submit and create a request even though they haven't edited any of the fields.   Any ideas?

5 REPLIES 5

OlaN
Giga Sage
Giga Sage

Hi,

According to this KB, there is no support for the .modified in the Workspace UI, Since the Portal also shares similar support as the Workspaces do, I reason the .modified method doesn't work in Portal view either (it will probably only in native UI).

So it looks like you need to dive into some other way of checking if any of the fields has been modified.