w2form.focus

Indicates what field to set focus on render.
Integer, default = 0
Once the form is rendered, and if the .focus property is greater or equal to 0 it will set focus to that field. If you do not want auto focus, set .focus to -1.
If your HTML template is defined as follows: The form definition will be:

User Comments

comments powered by Disqus