Default Values and Auto Scrolling

Default values for date, european date, and country went up this morning. To set a default country, just edit your address field and select the country from the list on the left. For the date fields, both dates and implied words are valid. For example, the following values will work:

– 2/15/2007
– today
– tomorrow
– +3 days
– last thursday

The nice part about the words is that they change dynamically. So, if you would like the default value of your date to __always__ be the current date, just write “today” in the default value.

We’ve also managed to fix something that has been bugging us for quite some time — scrolling the page on submission. In the past, if you were to embed a long form on your site, your users would see a blank space after clicking submit. This happened because the form was so long, and the confirmation message was all the way at the top. We have now changed it so that when a user presses submit, they will jump to the top of the form if there is no Redirect URL set. This means if there were errors, they will see the notification, and if not then they will properly see the confirmation message.

Comments

  • excuse me. i became from Luxemburg and i need help.

    Posted February 15th, 2007 by 125vd4sghg.
  • naturally like your web-site however you have to
    check the spelling on several of your posts. Many of them are rife with spelling issues and I find it very troublesome to inform the reality however I’ll surely come back again.

    Posted February 15th, 2007 by livedraw sgp.

Add a Reply

You may use HTML for style.