Skip to main content

Forums

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Community Thanks. #77911

    darkporn
    Member

    I agree with your thanks
    just reading the comments I’ve learned too

    from Valparaiso, Chile
    THANKS

    in reply to: Forms in WordPress #78220

    darkporn
    Member

    you may used $_SESSION variables

    in reply to: Contact Form: Validation & Deployment #78246

    darkporn
    Member

    cubedMedia, i saw your site, i think is this, http://www.cubedmedia.com/ right?

    first.
    if you have your own domain, use it, don’t put a mailto:*@bellsouth.
    create you email address, like, info@cubedmedia.com

    second
    jQuery, do not, send email, ok? but you can easily validate the form with the validate plugin

    http://bassistance.de/jquery-plugins/jquery-plugin-validation/

    validate plugin

    php send email, you know this,
    you can also validate here, but is more work.
    for send a email you should use the mail() function
    I am from Chile so the code is in spanish.

    < ?php
    $Nombre = htmlspecialchars($_POST[Nombre]);
    $email= htmlspecialchars($_POST[email]);
    $fono = htmlspecialchars($_POST[fono]);
    $mensaje = htmlspecialchars($_POST[mensaje]);

    $recipiente = "YOUR EMAIL ADDRESS";
    $sw = "index.php";
    $msg = "El Sr: $Nombre, envia el formulario con los siguientes datos:nnnn

    Nombre: $Nombre
    e-mail: $email
    Fono: $fono
    Mensaje: $mensajenn";

    if (empty($Nombre)){
    echo "

    Error: No ha
    ingresado su Nombre.

    ";
    } else if(empty($fono)){
    echo "

    Error: No ha
    ingresado su Telefono.

    ";
    } else if(empty($mensaje)){
    echo "Error: No ha
    ingresado su Mensaje.
    ";
    }else{

    //Limpiamos de posibles ataques.

    $mensaje = ereg_replace("rn","
    ", $mensaje);

    mail("$recipiente", "YOUR TITLE", "$msg", "FROM: $email");


    echo"Señor/es $Nombre.



    Le agradecemos de antemano la confianza depositada en nuestra empresa.




    Le informamos que hemos recibido su petición de información correctamente

    y en breves fechas nos pondremos en contacto con usted.






    Atte. MI EMPRESA.





    Volver a la pagina de inicio.";
    }
    ?>

    you can translate with the translate.google.com service.
    ( strange but


    tag is tranlate as FACEBOOK )

    look at the variables $_POST because your input need to name as it.
    ex.
    html page.

    the class required is for validate plugin works

    the name = email send to php page as

    $_POST

    any question. just ask

    in reply to: a tree like problem, table #81400

    darkporn
    Member

    I’ll try to explain it better.

    the model is so.

    a program may have many MENTIONS
    Mention may have many ARRANGEMENTS

    now I’m trying to do that when I click on Add mention, add an endorsement (works ok)
    option displays the Add mode, which works ok, but with a catch:
    mention that when I add other ways I can not keep adding to the first mention.

    went up to a hosting so they can watch online
    http://cuboidea.com/nuevo/tablas/

    deleting it works ok, (X)
    greetings …

    un dibujo.
    [img]http://img190.imageshack.us/img190/5152/relacionx.th.jpg[/img]

    en español por si acaso.

    voy a tratar de explicarlo mejor.

    el modelo es asi.

    un PROGRAMA puede tener muchas MENCIONES
    una MENCIONES puede tener muchas MODALIDADES

    ahora, estoy intentando hacer que cuando hago click en Agregar mencion, agregue una mencion ( funciona ok )
    se despliega la opcion de Agregar MOdalidad, que funciona ok, pero con un pero:
    que cuando agrego otra mencion no puedo seguir agregando modalidades a la primera mencion.

    subi a un hosting para que lo puedan ver online
    http://cuboidea.com/nuevo/tablas/

    lo de borrar funciona ok, (la X)
    saludos…

    in reply to: Order.js on Custom Order Form #81374

    darkporn
    Member

    thanks for sharing,

    in reply to: Dynamic Order Form [PLUS] #65628

    darkporn
    Member
    Code:
    $(function(){

    $(‘.num-pallets-input’).blur(function(){

    var $this = $(this);

    var numPallets = $this.val();
    var multiplier = $this
    .parent().parent()
    .find(“td.num-pallets2 input”)
    .val();

    if ( (IsNumeric(numPallets)) && (numPallets != ”) ) {

    var rowTotal = numPallets * multiplier;

    $this
    .css(“background-color”, “white”)
    .parent().parent()
    .find(“td.row-total input”)
    .val(rowTotal);

    //rowTotal < - esto e muestra en row-total input $('.num-pallets-input3').blur(function(){ var $this = $(this); var tax = $this.val(); if ( (IsNumeric(numPallets)) && (numPallets != '') ) { var rowTotal2 = tax * rowTotal; $this .css("background-color", "white") .parent().parent() .find("td.row-total2 input") .val(rowTotal2); }; }); } else { $this.css("background-color", "#ffdcdc"); }; calcProdSubTotal(); calcTotalPallets(); calcShippingTotal(); calcOrderTotal(); }); });

    por si alguien lo quiere….

    maybe someone else need this….
    thank For The INSPIRATION …

Viewing 6 posts - 1 through 6 (of 6 total)
icon-link icon-logo-star icon-search icon-star