Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #293770

    Hi Kriesi team…..

    i’ve got a question regarding the contact forms included on template… there is any way to post data as a form like this, it means to post data to an url

    <form id=”form1″ method=”post” action=”http://domain.com/prm/ws_save_lead.php”&gt;
    <div>
    <div>
    <div style=” color:#666; font-size:14px”>Nombre:</div>

    <input type=”text” value=”” name=”nombre” id=”nombre” required />
    </div>
    <div>
    <div style=” color:#666; font-size:14px”>Teléfono:</div>
    <input type=”text” name=”telefono” value=”” id=”telefono” required/>
    </div>

    <div>
    <div style=” color:#666; font-size:14px”>Email:</div>
    <input name=”email” value=”” id=”email” type=”email” required />
    <input type=”hidden” name=”ip” value=”<?php $ip = $_SERVER[‘REMOTE_ADDR’]; echo $ip; ?>”>
    </div>

    <div id=”check_box”>
    <input type=”checkbox” id=”privacidad” value=”S” tabindex=”9″ name=”agree” required>
    <label for=”check”>He leído y acepto vuestra política de privacidad</label>

    </div>
    <div class=”eform”>
    <input type=”submit” name=”button” class=”bot_enviar_formulario” id=”button” value=”” />
    </div>
    </div>
    </form>

    #293843

    Hey Luis!

    Thank you for using our theme.

    If you are using cross domain action call this might make problems. Check the following article:
    http://stackoverflow.com/questions/8497609/html-form-post-cross-domain

    For the same domain it should work.

    Cheers!
    Günter

    #293873

    is the same domain…. but my question is about if with contact form included on AVIA ÇFramework if i could instead of a mailto do a post to the url ”http://domain.com/prm/ws_save_lead.php”

    with the params / fields of the form

    thx in advance

    #294323

    Any update?

    #294483

    Hey!

    No, the theme contact form can’t post to an external php script. Our contact form sends an ajax request to wordpress and relies on the wp_ajax api to process the data.

    Regards,
    Peter

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