You need to sign in to do that
Don't have an account?
ArmanM
Auto Stamp todays date when a custom button is clicked
Hi,
I have custom field 'Request Date' and custom button called 'Send Request' that redirects to send an email template. I need to stamp today's date into the custom field when the button is clicked and the email has been sent.
Is there any way of doing this? How?
Thanks,
Arman
I have custom field 'Request Date' and custom button called 'Send Request' that redirects to send an email template. I need to stamp today's date into the custom field when the button is clicked and the email has been sent.
Is there any way of doing this? How?
Thanks,
Arman
The approach will change slightly then, You can make your custom button to call javascript. You can then update the field with todays value in javascript and then redirect to your custom url.
sample code:
All Answers
Does you custom button calls a visualforce page or executed apex method via javascript? If so you can update the custom field with
I am actually using custom url on the button to display a email template. I am not sure if that method you mentioned would still work.
The approach will change slightly then, You can make your custom button to call javascript. You can then update the field with todays value in javascript and then redirect to your custom url.
sample code:
However the porcess has changed to stampping Today() when the record is saved. Any idea on how to do this instead?