Special Fields
Magical Forms recognizes special fields to make certain tasks easier
Last updated
Magical Forms recognizes special fields to make certain tasks easier
Last updated
Magical Forms has "special fields" that make saving certain common types of data easier.
Create a hidden field with a value of x-magicalforms-current-date-time
and Magical Forms will automatically convert that value to a date and time in your destination.
Create a hidden field with a value of x-magicalforms-current-date
and Magical Forms will automatically convert that value to a date in your destination.
All of the times are saved at 0 UTC time. If you want to save dates and times in your own timezone, you'll need to set the timezone in your Magical Form dashboard, under settings.
Once a visitor to your website has successfully submitted a form, you often want to redirect them to another location. Magical Forms allows you to do this with the x-magicalforms-redirect
field. Put any URL into this field and the user will be automatically redirected to that URL after submitting your form.
You can capture the client IP address from form submissions by adding a hidden field with the value x-magicalforms-ip-address
to your form. This can be useful for geocoding user locations or preventing spam.
Magical Forms will automatically convert this value to the IP address of the client who submitted the form.
In certain situations you may want to add data to the top of your sheet rather than the bottom, especially in cases where you have a very large sheet. Magical Forms allows you to do this with the x-magicalforms-insert-data-top
form field. Add a hidden field to your form with this name and Sheet Monkey will insert the data at the top of your sheet rather than the bottom.