This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
tutorials:zencartmods:emails_fields.html [2011/11/15 17:11] daigo created |
tutorials:zencartmods:emails_fields.html [2011/11/15 17:22] daigo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | This mod will change all of your email fields from type="text" to type="email" where necessary. | + | {{:tutorials:zencartmods:photo.jpg?|}} |
- | This will make it easier for people with iPads and mobile devices to type their email addresses into the field, and will gracefully degrade to type="text" in browsers that do not support HTML 5. | + | This mod will change all of your email fields from **type="text"** to **type="email"** where necessary. |
- | ==== includes/functions/html-OUTPUT.PHP ==== | + | This will make it easier for people with iPads and mobile devices to type their email addresses into the field, and will gracefully degrade to **type="text"** in browsers that do not support HTML 5. |
+ | |||
+ | ==== includes/functions/html_output.PHP ==== | ||
Line 369 \\ | Line 369 \\ | ||
Line 17: | Line 19: | ||
</code> | </code> | ||
+ | |||
+ | And thats it! This will work for your login and account creation screens. If you have some other mods that also require email fields, just make sure that they have the string 'email' in their names somewhere, and that you're using the **zen_draw_input_field()** function. |