"g_from.save" doesn't work!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 08:05 AM
I checked the client in the UI action and used "g_from.save( );".
However, the record is not saved and when I try to leave the screen I get a popup telling me what was not saved.
There are about 30 customized fields.
When I searched for other articles, it was written that the list field and the choice field were the cause.
But I need these fields to meet my requirements.
Even if you execute "g_from.save( );", it doesn't work without an error, so I don't know the cause.
Can anyone help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 08:40 AM
This is highly likely the answer, if it's not a typo.
The only other thought I had was making sure that client=true.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 08:46 AM
Hello!
To start with, you have 'g_from.save( );' which appears to be a typo. It should be 'g_form.save();'.
This also will only work in a UI action if the client check-box is checked. It will also not work if there are any mandatory fields that are not populated as it WILL check to see if all mandatory fields are complete.
OOB for a UI action usually will use this to save a record:
"current.update();"
But that is also dependent on what and when it needs to save.
If you can post screenshots we may also be able to help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 06:27 AM
sorry. .
I made a typo when posting. .
The code is written in "g_form.save();".
I ran his UI action in the same client script spec on the incident table and it saved as expected.
However, I couldn't save the table that I want to implement.
All required fields are filled.
client = true
Is there a way to check that?
The client checkbox is checked.