Can I import a PHP form?

  • Profile Image
    fabian2015
    Asked on January 27, 2015 at 02:44 PM

    I tried to import an existing form from http://liferising.com/practitioner/wholesaler.php, but system said " no form found, please check code". Can I import PHP form? Thaks

  • Profile Image
    Ben
    Answered on January 27, 2015 at 04:34 PM

    I presume that you have tried to use the import from webpage option. It is possible to import at least some fields through it, but only if there is a valid form HTML element formed.

    Since I do not quite know how it is parsing the page I can not tell you where the issue is, but have checked with my colleagues and got and based on it I would like to ask you to remove the js code in the <form> element only and then try to import the jotform again.

    This means that instead of this:

    <form onsubmit="return validateCaptcha()" method="POST" action="/cgi-bin/formmail.pl" name="wholesaler">

    You would have this:

    <form method="POST" action="/cgi-bin/formmail.pl" name="wholesaler">

    Do let us know how it goes after changing that.