Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter flurinus

    (@flurinus)

    Small addition: I think that when setting the input type to “email”, iOS not only disables auto-capitalization, but also provides a dedicated keyboard containing @, “.com”, and similar web-related ‘keys.’ Would thus be really great if the input type could be set to “email” as described in the above-cited stackoverflow thread.

    Plugin Author xnau webdesign

    (@xnau)

    Currently this is only possible using a custom template. It’s pretty easy, though. After the $this->the_field() call, place this line of code:

    <?php if ( $this->field->name === 'email' ) { $this->field->attributes['type'] = 'email'; } ?>

    Change the name it’s looking for if your email field has a different name.

    General instructions for using a custom template are found here:

    Using Participants Database Custom Templates

    Thread Starter flurinus

    (@flurinus)

    Thank you very much for this, too. It works perfectly, and indeed was easy to implement. Really appreciate!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Input type "email" instead of "text"’ is closed to new replies.