Skip to main content
Answered

Set a hidden field in a "shared link" as today


How do I dynamically set a hidden field to “today” in a form link to share?

Best answer by picsoung

Hey @quixo 

This really depends on the way you share the form, either via a link or via an embed.

In all cases, you will pass it via hidden fields.
For example:
https://form.typeform.com/abc123?todaysdate=08/16/2024

You are free to decide the format of the date. It will be treated as a string.

View original

2 replies

  • Author
  • Explorer
  • 1 reply
  • August 15, 2024

If not possible, what is the format to send in a date in a url string?


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • 384 replies
  • Answer
  • August 16, 2024

Hey @quixo 

This really depends on the way you share the form, either via a link or via an embed.

In all cases, you will pass it via hidden fields.
For example:
https://form.typeform.com/abc123?todaysdate=08/16/2024

You are free to decide the format of the date. It will be treated as a string.


Reply