Copy link to clipboard
Copied
If this should be in another forum, please let me know.
I am attempting to write the text tags of the following fields as they were initially created in the Adobe Sign UI where they work, but when writing them out as text tags I am having issues.
If anyone can assist me in writing these, I would appreciate it.
1.)DateofBirth – This is used to capture the users DOB in the format listed below.
In my HTML document, I am using the following: {{*eaDateOfBirth_es_:signer1:isdate(format=dd/mm/yyyy)}}
It captures information, but please note the red error below noting the valid date should be in dd/mm/yyyy instead of asking for mm/dd/yyyy. How can I make that ask for my requested format?
2.) DateOfBirthMonthDateYear – This is used as a read only display of the users DOB. Utilizing a formula calling the first DOB entry and displaying it not in the original mm/dd/yyyy it was entered in, but as you can see, displayed as a date with a date format of US so it displays ex: Aug 18, 2023.
This is the formula I have written out: {{!ea_DOB_MMDDYYYY_es_:calc([eaDateOfBirth_es_]):format(date, "mmmm d, yyyy")}}
How can I get it to display the correct format?
3.)DoesDOBMatch – This is a read only field displaying a calculated value as text. This looks at fields 1 and 4 from the initial image and checks to see if they equal one another. There is no true message, just double quotes, but the false message is noted in the formula.
Field 1 text tag: {{*eaDateOfBirth_es_:signer1:isdate(format=dd/mm/yyyy)}}
Field 4 text tag: {{*eaConfirmDateOfBirth_es_:signer1:isdate(format=dd/mm/yyyy)}}
Text tag for this comparison field: {{!ea_DOBMatch:calc([eaDateOfBirth_es_] = [eaConfirmDateOfBirth_es_],"","Please confirm and correct the DOB as these fields do not match."):font(color=FF0000)}}
How can I get this to display?
Thank you!
I reread #1 and realized my date format was off. Facepalms ensued.
Next is #2 and #3 that I am still having issues with.
I ask for a DOB and utilize text tag shortening.
{{$obd}}
My definition tag is as follows and works great.
{{#obd=*eaDateOfBirth_es_:signer1:isdate(format=mm/dd/yyyy):dimension(width=35mm, height=7mm)}}
Beside the DOB entry field, I would like to display a read only version in red as month date, year.
Ex: August 20 , 2023
This is the formula I am using and it is not displaying anyth
...Copy link to clipboard
Copied
I reread #1 and realized my date format was off. Facepalms ensued.
Next is #2 and #3 that I am still having issues with.
I ask for a DOB and utilize text tag shortening.
{{$obd}}
My definition tag is as follows and works great.
{{#obd=*eaDateOfBirth_es_:signer1:isdate(format=mm/dd/yyyy):dimension(width=35mm, height=7mm)}}
Beside the DOB entry field, I would like to display a read only version in red as month date, year.
Ex: August 20 , 2023
This is the formula I am using and it is not displaying anything.
{{!DOB_MMDDYYYY_es_:signer1:calc([eaDateOfBirth_es_]):format(date, "mmmm d, yyyy")}}
What might I have missed?
Next up, I'm looking at two fields and displaying text if they do not match.
I am looking at my initial DOB field as mentioned above along with another field that asks for DOB confirmation.
Initial DOB: eaDateOfBirth_es_
Confirmation DOB: eaConfirmDateOfBirth_es_
The formula I am attempting to use is:
{{!ea_DOBMatch:calc([eaDateOfBirth_es_] = [eaConfirmDateOfBirth_es_],"","Please confirm and correct the DOB as these fields do not match."):font(color=FF0000)}}
What have I missed?
Thanks!
Copy link to clipboard
Copied
Having escalated for over a month with Adobe support, I came across a brilliant support lead who had the answers.
#2 - Repeat the DOB entered, but in another format.
{{!ea_DOB_MMDDYYYY_es_:signer1:calc(eaDateOfBirth):format(date,"mmmm dd, yyyy"):font(color=FF0000)}}
In the calculation I needed to drop the _es_ for it to work.
I wish I had read that somewhere. Text tag instructions don't show calculations with that bit of text, but I didn't see anywhere it noting it cannot be used.
#3 - Compare two DOB entries and display a message if they are not the same.
I used a shortened text tag for this.
{{$DOBMatchNotification}}
{{#DOBMatchNotification=!Dobmessage_es_:signer1:dimension(width=90mm, height=6mm):hideif(eaConfirmDateOfBirth = “”):font(color=FF0000, ):calc(if(eaDateOfBirth = eaConfirmDateOfBirth, "", "DOB is invalid, or does not match")}}
Again, not knowing to pull the _es_ kept me from obtianing this initally, but the support lead I worked with provided further details to the tag that I did not initally have.
Hopefully this helps someone at some point in time.