WordPress.org

Forums

Contact Form 7
passing on variables to messages (1 post)

  1. ftrippie
    Member
    Posted 3 years ago #

    Hi guys,

    would it be possible to pass on any of the tags to the success/error messages?

    I changed my success message so that it will show a Paypal button. Works perfectly. And I added a reference textbox, but would like that reference textbox automatically be filled with the [your-email] value.

    My code:

    Su mensaje se ha enviado con exito. Muchas Gracias.

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="paypalcode"> <table> <tr><td><input type="hidden" name="on0" value="Pulse Boton"><span style="font-size: 10pt;"> Pago del Servicio</span>

    </td></tr><tr><td><input type="text" name="os0" value="Su Ref.: [your-email]" maxlength="80"></td></tr> </table>

    <input type="image" src="https://www.paypalobjects.com/es_ES/ES/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal. La forma rĂ¡pida y segura de pagar en Internet."></form>

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic