Populate Template values on change record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 04:04 AM
Hi,
Any chance when changing template can erase the old template value and update the new template values and if template b is not having short description value then change form should erase the old value and keep it blank .
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 05:29 AM
Hi @Community Alums
No luck 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 05:31 AM
Hi @Nandini DM ,
Have you tried changing the table name and field names as per your instance.
Try to debug what issue you are seeing, Put some logs so that we can troubleshoot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 05:39 AM
Hi @Community Alums
I checked the table name which is referring to "sys_template" and can you please explain in the below line what should be added in the place of "field_values" ?
var fields = templateGR.field_values.split(',');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 05:43 AM
I checked table name and fields names I don't see anywhere you have used field names if I am not wrong.