I have a custom form which creates the desired joomla article, but it also simultaneously creates another article with no title.
see the attachment
What is the most likely root cause?
Hi hyrum_0,
I've no idea, not a problem that I've seen before.
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Bob
Hi hyrum_0,
That all looks OK. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.
Bob
thanks again or your help.
Hi hyrum_0,
It works OK when I test, only one article is created.
How are you showing the form? I wonder if there is a URL problem. Does it work correctly from the Test or View Form link in the Forms Manager?
Bob
I get the same result whether from a module, a menu item or the test/view option that you mentioned.
I turned on the error reporting to "Development" and no errors or messages.
I just noticed that the blank article is created after the desired one (it has a larger article #). Might be a clue to the puzzle.
Hi hyrum_0,
Sorry I have no clues about what is happening from the form - which appears to work correctly when I test, or the debug output. I can only guess that the form is being re-submitted somehow.
By all means email or PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.
Bob
Just PM'd you, but forgot the form name: project-submit
Hi hyrum_0,
I'm not clear what is happening - some kind of looping in the URLs I think. I've added a Submit Limit action that blocks any new submissions for 20 seconds and that seems to have cured the double-posting.
I also added some very basic serverside validation to check for, and block, an empty title.
Bob
Oops, I should have chosen your post as the best answer.