• Resolved writerbug44

    (@writerbug44)


    When I post a contact form, every field is treated as a text type instead of a textarea, checkbox, etc. They are all just one line entries despite the shortcode having type=’textarea’ or other types. They are also only affected by the text type in the css.
    The website that I am working on is local and I am unable to share it but I would really appreciate it if you could give me any tips… thanks!

    https://wordpress.org/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you try to switch to one of the default themes for a few minutes, and let me know if you keep experiencing the same issues?

    If that doesn’t seem to help, could you copy your contact form shortcode, and paste it here so I can try to reproduce on my end?

    Thanks!

    Thread Starter writerbug44

    (@writerbug44)

    Hi Jeremy!
    Thanks for getting back to me but I actually just figured it out. For some reason, I had

    function add_shortcode() {
    		add_shortcode( 'contact-form',   array( 'Grunion_Contact_Form', 'parse' ) );
    	}

    in grunion-contact-form.php but when I changed it to

    function add_shortcode() {
    		add_shortcode( 'contact-form',   array( 'Grunion_Contact_Form', 'parse' ) );
    		add_shortcode( 'contact-field',  array( 'Grunion_Contact_Form', 'parse' ) );
    	}

    it worked! I’m not the only person working on this code so somebody else may have messed it up before I got to it.
    Anyway, thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Different types not working on contact form’ is closed to new replies.