Skip to main content
Answered

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

  • Aug 15, 2024 1:41 PM UTC
  • 2 replies
  • 121 views

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
  • Aug 15, 2024 3:38 PM UTC

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
  • Answer
  • Aug 16, 2024 11:13 AM UTC

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.