Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #721752

    Hello I would like to adapt sign in, sign up, register, questionary form to to have the enfold look and feel but it doesn’t work. I can’t replicate the default Enfold contact form on Contact Form 7 or Theme my login.

    Here is the default Enfold Form

    <form action="https://pdr.127.0.0.1.xip.io/contact/" method="post"
          class="avia_ajax_form av-form-labels-visible   avia-builder-el-5  el_after_av_textblock  avia-builder-el-last  "
          data-avia-form-id="1" data-avia-redirect="">
        <fieldset>
            <h3>Send us mail</h3>
            <p class=" first_form  form_element form_fullwidth" id="element_avia_1_1">
                <label for="avia_1_1">Name<abbr class="required" title="required">*</abbr></label>
                <input name="avia_1_1" class="text_input is_empty" type="text" id="avia_1_1" value="">
            </p>
            <p class=" first_form  form_element form_fullwidth" id="element_avia_2_1"><label for="avia_2_1">E-Mail <abbr
                    class="required" title="required">*</abbr></label> <input name="avia_2_1" class="text_input is_email"
                                                                              type="text" id="avia_2_1" value=""></p>
            <p class=" first_form  form_element form_fullwidth" id="element_avia_3_1"><label for="avia_3_1">Subject <abbr
                    class="required" title="required">*</abbr></label> <input name="avia_3_1" class="text_input is_empty"
                                                                              type="text" id="avia_3_1" value=""></p>
            <p class=" first_form  form_element form_fullwidth av-last-visible-form-element" id="element_avia_4_1">
                <label for="avia_4_1" class="textare_label hidden textare_label_avia_4_1">Message
                <abbr class="required" title="required">*</abbr></label>
                <textarea name="avia_4_1" class="text_area is_empty" cols="40" rows="7" id="avia_4_1"></textarea>
            </p>
            <p class="hidden">
                <input type="text" name="avia_5_1" class="hidden " id="avia_5_1" value="">
            </p>
            <p class="form_element "><input type="hidden" value="1" name="avia_generated_form1">
                <input type="submit" value="Submit" class="button" data-sending-label="Sending">
            </p>
        </fieldset>
    </form>
    
    
    <div class="" id="theme-my-login<?php $template->the_instance(); ?>">
            <?php $template->the_action_template_message( 'login' ); ?>
            <?php $template->the_errors(); ?>
            <form name="loginform" class="avia_ajax_form av-form-labels-visible" id="loginform<?php $template->the_instance(); ?>" action="<?php $template->the_action_url( 'login', 'login_post' ); ?>" method="post">
                    <p class="form_element form_fullwidth">
                            <label for="user_login<?php $template->the_instance(); ?>"><?php
                                    if ( 'username' == $theme_my_login->get_option( 'login_type' ) ) {
                                            _e( 'Username', 'theme-my-login' );
                                    } elseif ( 'email' == $theme_my_login->get_option( 'login_type' ) ) {
                                            _e( 'E-mail', 'theme-my-login' );
                                    } else {
                                            _e( 'Username or E-mail', 'theme-my-login' );
                                    }
                            ?></label>
                            <input type="text" name="log" id="user_login<?php $template->the_instance(); ?>" class="text_input" value="<?php $template->the_posted_value( 'log' ); ?>" size="20" />
                    </p>
    
                    <p class="form_element form_fullwidth">
                            <label for="user_pass<?php $template->the_instance(); ?>"><?php _e( 'Password', 'theme-my-login' ); ?></label>
                            <input type="password" name="pwd" id="user_pass<?php $template->the_instance(); ?>" class="text_input" value="" size="20" autocomplete="off" />
                    </p>
    
                    <?php do_action( 'login_form' ); ?>
    
                    <div class="tml-rememberme-submit-wrap">
                            <p class="tml-rememberme-wrap">
                                    <input name="rememberme" type="checkbox" id="rememberme<?php $template->the_instance(); ?>" value="forever" />
                                    <label for="rememberme<?php $template->the_instance(); ?>"><?php esc_attr_e( 'Remember Me', 'theme-my-login' ); ?></label>
                            </p>
    
                            <p class="">
                                    <input class="button" type="submit" name="wp-submit" id="wp-submit<?php $template->the_instance(); ?>" value="<?php esc_attr_e( 'Log In', 'theme-my-login' ); ?>" />
                                    <input type="hidden" name="redirect_to" value="<?php $template->the_redirect_url( 'login' ); ?>" />
                                    <input type="hidden" name="instance" value="<?php $template->the_instance(); ?>" />
                                    <input type="hidden" name="action" value="login" />
                            </p>
                    </div>
            </form>
            <?php $template->the_action_links( array( 'login' => false ) ); ?>
    </div>
    

    What do I need to change on order to make this TML submit form to work?

    #722326

    Hi vad1mo!

    Thank you for using Enfold.

    Could you please provide a link to the page with the contact form so that we can check it? I’m not familiar with the plugin but we’ll try our best to help. For additional information or help, please contact the plugin author.

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.