Submit API Fields
Text Field
- Validation : None unless required
- Formatting Necessary : None
Email Field
- Validation : Must be a valid email address
- Formatting Necessary : None
URL Field
- Validation : Must be a valid URL
- Formatting Necessary : None
Paragraph Field
- Validation : None unless required
- Formatting Necessary : None
Number Field
- Validation : Must be a number.
- Formatting Necessary : None
Checkbox Field
- Validation : None unless required
- Formatting Necessary : The value stored in Wufoo is not a 1 or 0 for checked or not checked, but the actual text used for the checkbox’s name. So, if your checkbox looked something like this
then you would want the value passed to Wufoo’s servers to be “First choice” if the “First choice option was checked”.
If it is not checked, just send a blank value.
Radio Field
- Validation : None unless required
- Formatting Necessary : The value stored in Wufoo is not a 1 or 0 for selected or not selected, but the actual text used for the radio ‘sname. So, if your radio looked something like this
then you would want the value passed to Wufoo’s servers to be “First choice” if the “First choice option was selected”.
If it is not checked, just send a blank value.
Dropdown Field
- Validation : None unless required
- Formatting Necessary : The value stored in Wufoo is not a 1 or 0 for selected or not selected, but the actual text used for the drop down. So, if your drop down box looked something like this
then you would want the value passed to Wufoo’s servers to be “First choice” if the “First choice option was selected”.
If it is not checked, just send a blank value.
Name Field
- Validation : None unless required
- Formatting Necessary : There is no formatting necessary for a name field, but note that field is actually four fields (title, first, last, suffix), and not one rolled up field. If the name field is a required field, the first and last name may not be blank.
Address Field
- Validation : None unless required
- Formatting Necessary : There is no formatting necessary for an address field, but note that field is actually five fields (street, street1, city, zip, country), and not one rolled up field. If the address field is a required field, all fields besides the second street field are required.
USA Phone Field
- Validation : Must be numeric and contain 10 numbers
- Formatting Necessary : Although the phone fields in Wufoo look like they are three fields, they are combined into one 10 digit number. So if you had three input fields for area code, first 3 numbers, and last four numbers, you would need to combine the three fields into one value before sending the data off to Wufoo’s servers.
International Phone Field
- Validation : Must contain at least 7 numbers. Can only contain numbers, ‘-‘, ‘+’, and spaces. The non numeric characters will be stripped before going into Wufoo’s servers.
- Formatting Necessary : None
Date Field
- Validation : Must be a valid date.
- Formatting Necessary : Although the date fields in Wufoo look like they are three fields, they are combined into one field with the formatting of YYYYMMDD. So if you had three input fields for day, month, and year, you would need to combine the three fields into one value before sending the data off to Wufoo’s servers.
- Special Considerations : American and European date formates should both be submitted as YYYYMMDD when submitted to Wufoo’s servers.
Time Field
- Validation : Must be a numeric.
- Formatting Necessary : Although the time fields in Wufoo look like they are three fields, they are combined into one field with the formatting of HH:MM:SS. So if you had three input fields for hours, minute, and seconds, you would need to combine the three fields into one value separated by colons before sending the data off to Wufoo’s servers.
- Special Considerations : Although Wufoo’s forms have AM/PM drop down boxes, the time values submitted through the API must be in universal time format. So 1:23 p.m. would be submitted as 13:23.
Price Field - Dollars, Euros & Pounds
- Validation : Must be numeric.
- Formatting Necessary : Although the price fields in Wufoo look like they are two fields, they are combined into one field and separated by a period to separate Dollars/Euros/Pounds and cents. So if you had two input fields for Dollars and cents, you would need to combine the two fields into one value separated by a period before sending the data off to Wufoo’s servers.
- Special Considerations : If the Dollar/Euro/Pound is a whole number then it does not need a period or cents value. If the value is only a cents value, then only a period and the cents value (ie. .24) needs to be submitted.
Price Field - Yen
- Validation : Must be numeric.
- Formatting Necessary : None
Updated :
January 31st, 2007