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?
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
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
with debugger on and after submitting a article creation form
Data Array
Array
(
[option] => com_chronoforms5
[chronoform] => project-submit
[event] => submit
[article-title] => debugger on
[already-published] => No
[synopsis] => duh
[purpose] => duh2
[product] => Cartoon
[additional] =>
[deadline] =>
[button5] => Submit
[full_text] =>
<h3>Synopsis</h3>
<div>duh</div>
<p>Already published = No</p>
<p>Finished Product = <b> Cartoon</b></p>
<h3>Purpose</h3>
<div>duh2</div>
<h3>Additional Details</h3>
<div></div>
<h3>Deadline</h3>
<div></div>
[intro_text] =>
<h3>Synopsis</h3>
<div>duh</div>
<h3>Purpose</h3>
<div>duh2</div>
)
Errors
Array
(
)
Debug Info
Array
(
)
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
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
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
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 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
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
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
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
This topic is locked and no more replies can be posted.