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

    Save on error

    Asked by LVcurtain on October 17, 2012 at 01:03 AM

    Hi Jotform team,

    I having a problem when creating the form, or even clone the form, the form won't appear...

    and while saving, error message come out:

    Error on query: INSERT INTO `forms` (`id`, `username`, `title`, `height`, `status`, `created_at`, `updated_at`, `new`, `count`, `slug`) VALUES (22900744101845, 'LVcurtain', 'Untitled Form', '465', 'ENABLED', NOW(), NOW(), 0, 0, '22900744101845')
    Error returned:Cannot add or update a child row: a foreign key constraint fails (`jotform_new`.`forms`, CONSTRAINT `forms_ibfk_1` FOREIGN KEY (`username`) REFERENCES `users` (`username`) ON DELETE CASCADE ON UPDATE CASCADE)


    Please help me.


  • Profile Image
    JotForm Support

    Answered by idarktech on October 17, 2012 at 01:58 AM


    Please try to logout from your account, clear your browser's cache and then log back in. See if that fixes the problem.

    Just message us again if the problem still persist so we can further assist you. Thanks!