Hello everyone,
I need via javascript get a date field and multiply by an integer, and the result of this multiplication I need to set in another text field, pdoeria someone please help me?
Thank you
*This post is locked for comments
Okay, I went up to your solution, will perform a test
Perfect - I'd go with the workflow solution because that'll happen however the record is created or updated, and the javascript will only run if the user is on the CRM form.
Thanks!
Aiden
Hi,
Yes, it would add the date entered by the user, plus the days of validity of the document and the result meets the Expiration Date field
Tank You.
Hi Ricardo,
Sorry if I still am not clear - it sounds like you want to add the validity to the document date, not multiply. So, 1/10/16 + 15 days, yes?
If you want to do it no-code, you can handle this with a workflow if you download Workflow Elements at kaskela.wordpress.com. The workflow would be setup with:
Trigger = create or (update of your record if one of those two fields change)
Workflow steps:
Hope this helps! I'd be happy to answer any followup questions or clarify. I'd appreciate if you'd mark this as Answering your question.
Thanks,
Aiden
Hello Aiden,
Obriado unanswered. The scenario is the following, I have a field called date of the document and a field called days of validity, I need to multiply the document date * day of validity to set the Expiration Date field the result of this multiplication, you know?
Thank you for your help
Hi,
You can't multiple a date on its own (like, what's 4 * November 17th?) What part of the date do you need to multiply? What are you trying to do?
Thanks,
Aiden
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156