WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Value text for input text field (3 posts)

  1. lonchbox
    Member
    Posted 1 year ago #

    Why this is not posible?

    [contact-field label='Name' value='Name' type='name' required='1'/]

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    We do not offer any "Value" parameter for the contact form, because the value is actually automatically pre-filled for you; if you're logged in, the Value wil be set to your account's name.

    It's a good suggestion though; I took note of your feedback and we'll consider adding this parameter in a future jetpack update.

    Thanks for the report!

  3. lonchbox
    Member
    Posted 1 year ago #

    Thanx for considering this. I use the "value" parameter in the case that the form doesn´t show the "label", so with the "value" you can show the name of the field.

    For now I fis with this JS:

    $('input#161-nombre').val("Nombre");
    	$('input#161-email').val("Email");
    	$('input#161-asunto').val("Asunto");
    	$('textarea#contact-form-comment-161-comentario').val("Mensaje");
    	$('input.pushbutton-wide').val("Enviar");

    It feels good to help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic