What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    After embedding form to Joomla validation no longer works.

    Asked by aptus on August 26, 2014 at 04:38 AM


    When embedding jotform to joomla the required field doesn't work anymore, it just submit the form.

    Here's the link:


    Any ideas?


  • Profile Image

    Answered by jedcadorna on August 26, 2014 at 08:17 AM

    The source embed code might be conflicting some of your libraries in your web page. Kindly try using an iframe method and see if solves the conflict.

    I have cloned and copied your page then tried using an iframe embed code and the validation works fine. You can view the sample form here.

  • Profile Image

    Answered by aptus on August 26, 2014 at 08:24 AM

    I can't use an iframe because i'm passing user name variable from Joomla 






    $user = JFactory::getUser();


    if (!$user->guest) {


    $username = $user->username;


    //$realname = $user->name;




    $username = "guest";







  • Profile Image

    Answered by jedcadorna on August 26, 2014 at 09:57 AM

    Did you make any changes with the form source? I copied just your form source and validation doesn't work. Can you tell us which part of your form source has been modified?

    If haven't made any changes and just added your user name script please try copying this form source http://pastie.org/9504199 then add your PHP script then test the validation again. 

  • Profile Image

    Answered by aptus on August 26, 2014 at 10:49 AM
  • Profile Image
    JotForm Support

    Answered by david on August 26, 2014 at 11:29 AM


    I also tested your form and the form by itself, and the form embedded to my test page, using both the iFrame and Javascript method, works without issue:

    As my colleague stated, one of the running on your page appears to be conflicting with the forms validation.  You could try commenting out the scripts one at a time to see which one or which combination is causing the conflict.