Hi Brain,
Love Chronoforms and soon, if i get this to work!!, i will make my donation...
So i made a simple form with one textbox and a submit button. I placed it as a menuitem for registrated users. I made some events (or actions)like DBsave...Every thing is working fine. When a registrated user writes the box...the message is saved in the database..But..a strange thing happens too. The database is also registrating login events and logout events. So the submit box is not especially for that textbox.
I must do something wrong but maybe you could tell me.
Thanks,
Marcel
Using Chronoforms V4 and Joomla 3.0.
Hi Marcel,
I find it hard to think of any explanation for this. Not something I've seen reported before.
Can you give us more information about your form please.
Bob
I'm sorry for calling you Brain!
Hi Bob,
Well as i wrote before...two simple elements...a textbox and a submit button. Build it with form wizard.
Later i want to use more standard items like name and so on but for testing purpose i do it with the standard registration items form the registrated user. I would like to save these items to make it possible for remote (mobile) use.
The form is available for registrated users only as a menu-item.
The submit event is DB-save and left everything as is.
What could i tell more??
I also made a test contact-form which also saves to the database via easy wizard and this is working without any "problems". So i'm afraid something is going on in the submit-function of form wizard.
I'am using Joomla! 3.0.3 (that with the new and confusing backsite layout) and downloaded the latest Chronoform.
Thanks for the quick response!
Marcel
Hi Marcel,
I still see no reason why the form would record logins and logouts :-(
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 Bob,
Here it is. Hope you can find the "problem".
Marcel
Hi Marcel,
I think that I have worked it out. If the login is on the same page as the form then the submit button on the login module submits the form as well, I'm not sure why that happens though :-(
If you add server-side validation to the form to check for an empty input that should stop the stray submissions.
Bob
Thanks Bob,
You put me on the right track. I ended up redirecting after submit. This prevented the form from loading empty posts. Your server side validation is not entirely necessary but it helps the form.
Now i can continue.
Thans again for your quick support!
Marcel