How can we improve TrackVia? What features should come next?

Default a date field on a form to another date field

Like when you're buying a round-trip airplane ticket- the 'return flight' defaults to after the date of your outgoing flight. I'd like to able to set a date field in a form to default to the value entered in another date field already.

0 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Kevin Jones shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Justin Mauldin commented  ·   ·  Flag as inappropriate

    Hi Kevin,

    Thank you for reaching out to us with your suggestion.

    What you are asking for is a date field to do logic, and we specifically have date fields that just capture values, and then we have calculated date fields that allow you to write/do logic in them.

    With that said, you can accomplish what you are looking for by utilizing a combination of a date field and a calculated date field.

    Your date field would be something like your "Departure Date", then you would have a number field that would be something like "Number of Days Gone", and then finally you would have a calculated date field that would be something like "Return Date".

    You would then write the logic that you are looking for in a formula in the calculated date field of "Return Date". You would do a "dateadd" function and reference the "Departure Date," then you would set "Number of Days Gone" as the number of units to add to the "Departure Date," and finally, just set your unit to "days."

    If you are not familiar with the "dateadd" function or structure of the formula, you can access it here in our Knowledge Base article: http://help.trackvia.com/knowledgebase/articles/277734-date-functions

    Thanks again,

    Justin

Feedback and Knowledge Base