Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
mubangud Absent Member.
Absent Member.
3287 views

Auto Date if field changes


Is there a code that auto sets date field when a certain field is changed? Serena said this can be done through sbm script but I am not sure how to perform this through scripting.

The date field just needs to record when a certain field is changed and saved. I know that the change history performs this but I need to make this feature available at the main form instead of the change history, last modified fields.
Tags (1)
0 Likes
2 Replies
bamos Absent Member.
Absent Member.

Re: Auto Date if field changes


Should be fairly simple with a javascript onchange on the field you care about and then assign the current date to another field. There are some good examples that will get you close in the Composer Help in the Javascript Library section.
0 Likes
mubangud Absent Member.
Absent Member.

Re: Auto Date if field changes


I'll take a look
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.