Save on error

  • Profile Image
    LVcurtain
    Asked 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.

    Thanks.

  • Profile Image
    idarktech
    Answered on October 17, 2012 at 01:58 AM

    Hi,

    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!