Clicking on HTML free text image incorrectly submits forms--not supposed to submit, but go link.

  • Profile Image
    iamart
    Asked on January 30, 2012 at 06:56 PM

    Hello, I came across and error. There is a drop down in my form. When I choose the Payment Type drop down to "Online Payment" it brings the HTML free text that I set up, which is a clickable image of a custom Paypal button.It was working last night, but for some reason today, when I click on the HTML Free text image, it automatically submits the form to jotform and doesn't go to the link, which is Paypal. 

    Like I said, it was working fine, but it's not working anymore.

    Can You please help me? Here's the form: http://www.jotform.com/iamart/BRDF2012APP

    Thanks,

    Vipul D.

  • Profile Image
    iamart
    Answered on January 30, 2012 at 07:19 PM
  • Profile Image
    idarktech
    Answered on January 30, 2012 at 08:34 PM

    Hi,

    Your current paypal code contains <form> tags that's why it submits the form instead of redirecting it to a paypal payment page. Can you please try to change your current code to this?

    <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F5PDB456R28FJ" rel="nofollow noopener" ><img src="//dl.dropbox.com/u/14926808/suchu%20brdf/updated-BRDF-FEE.png" /></a>

    Please let us know the result so that we can further assist you. Thank you so much!

  • Profile Image
    iamart
    Answered on January 30, 2012 at 10:11 PM

    That worked. Thank you!

  • Profile Image
    idarktech
    Answered on January 30, 2012 at 10:16 PM

    Glad to hear it. If you have any other questions or concerns, please let us know. Thank you for using JotForm!