Contact Form Issues

resolved (4 posts) (2 voices)

  1. heartattack247
    Member

    Site URL: http://beardedtechnologies.com
    Problem Location: http://beardedtechnologies.com/contact-us
    Theme: Echelon
    Browser: Chrome (but also cross checking with Firefox & IE9)
    OS: Windows 7

    I have a couple problems I can't figure out with the built in contact form. I used the Advanced Settings to customize the field & button names use a drop down for the topic of the email.

    1) The submit button appears above the captcha. Is there something I can do to make the submit button stay at the bottom?

    2) The Select Values are working right for me. I want to have multiple selection options in the drop down but it only let me add one value. I attempted to add values to the code as you can see below, but that obviously didn't work.

    The shortcode I am currently using and having the problems with are as follows:

    [contactform email="info@beardedtechnologies.com" captcha="true"]
    [name label="Name" required="true"]
    [email label="Email" required="true"]
    [select label="What are you contacting us about?" value="Website" value="Android App"]
    [textarea label="Message"]
    [submit value="Send"]
    [/contactform]

    Posted 4 months ago #
  2. Elliott
    Support

    Hello heartattack247,

    1. Go ahead and take out the submit field in your shortcode and rename the value manually on line 190 in /wp-content/themes/[your_theme]/lib/shortcodes/16-contact.php.

    2. You'll need to use a comma to separate the values like so,

    [select label="What are you contacting us about?" value="Website,Android App"]

    Posted 4 months ago #
  3. heartattack247
    Member

    The label values are now working when separated by commas, thanks!

    About the submit button shortcode. I see the php code line you are talking about, but what in the code do I change? I am still a bit new with php script. Here is the code section for quick refrence:

    if( !$submit_button ) {
    $out .= '<div class="mysite_form_row">';
    $out .= '<input type="submit" value="' . __( 'Submit', MYSITE_TEXTDOMAIN ) . '" class="contact_form_submit fancy_button" />';

    $out .= '<div class="mysite_contact_feedback">';
    $out .= '<img src="' . esc_url( THEME_IMAGES_ASSETS . '/transparent.gif' ) . '" style="background-image: url(' . THEME_IMAGES_ASSETS . '/preloader.png);">';
    $out .= '</div>';

    Posted 4 months ago #
  4. Elliott
    Support

    On this line,

    $out .= '<input type="submit" value="' . __( 'Submit', MYSITE_TEXTDOMAIN ) . '" class="contact_form_submit fancy_button" />';

    You edit this part,

    __( 'Submit', MYSITE_TEXTDOMAIN )

    Posted 4 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme