Isa,
I work with the Cognito Development Team.
I was able to reproduce the issue you describe and it appears for some reason calculated fields are not being included on a Forms Entry Export.
I am creating an internal bug report for this issue so we can get one of the team members to take a look at it.
I see you already created a bug report through Cognito Forms so I will keep that issue open until we have a fix in place.
I am a developer for Cognito Forms.
Since February 2015 the following functionality has been made available:
In this example, I am setting the range on the Start Date field to =DateTime.Today
. It could have also been =DateTime.Today.AddDays(1)
to be tomorrow or later. Calculations are very robust and should cover most scenarios you can dream up, but you can also just enter literal dates.
I then set the range on the End Date to be at least three days after the Start Date, but no more than seven days. Here is the calculation for the End Date minimum:
And this is how the Start Date appears on the form, with the days before today disabled:
And similarly for the End Date, with both minimum and maximum date restrictions based on the Start Date.
The date range for the End Date automatically updates based on changes to the Start Date, so if an End Date is specified and the Start Date is later changed, validation will catch this if the user does not fix it first.
Please note that range validation applies to Date, Number and Currency fields, not just the dates included in this example.
Best Answer
I'm part of the support team here at Cognito Forms.
In order to do this, your first step would be to mark your Address field as "International" within the Field Settings, then save.
Next, you'll need to use your embed code. The last line before the end of the
<div>
tag should currently look something like this:What you'll need to do is use this line of the embed code to add field targeting so you can set a default value. After your form's unique ID number, you'll need to add a comma, then space, then the following:
With each of the three DEFAULT words being the actual values you want to preset.
So your whole line of code should look like this:
Just be sure to use your actual embed code so the form ID is correct.