-
PracMed_NZAsked on January 4, 2022 at 8:20 PM
Hi Team,
We have forms that need to mark just the year and the month it was submitted to trigger an action in Activecampaign (the month/year will be a tag that triggers an automation). We already have a hidden date picker which generates the full date (which we need for another report). My thought was to add a hidden DatePicker year month widget - just wondering how I set that up so it auto populates with the current date/month of submission.
Thanks! :)
Steph
-
Sweta JotForm SupportReplied on January 5, 2022 at 2:47 AM
Greetings Steph!
You can extract the month and date from the Date Picker element using a Substring widget:
Please go through the Demo form link:
https://form.jotform.com/220040950319951
Should you have any further queries, please let us know.
Thanks.
-
PracMed_NZReplied on January 5, 2022 at 8:05 PM
Thanks for the reply - I can't seem to get it to work.
I have {date} as the field ID
but nothing is populating when I do test runs. This is how it looks, there is nothing under it.
Thanks for your help! :)
-
Sweta JotForm SupportReplied on January 5, 2022 at 9:44 PM
You need to write the Field ID and not the unique name.
You can get the Field Id this way:
Thanks.