Forums

WHy don't all fields submit?

GuiGuy 31 Mar, 2015
I'm confused; I have a form that to all intents and purposes is fine. There are 16 fields on the form, most are text.
Two fields, one an "email" field, the other a drop down list (Yes/ No) are never included in the submitted form data that is emailed.

I'm totally confused why this should be. Can someone explain what magic is needed to have all fields included in the submitted form?

By the way, I am using a drop down box because checkbox values also miss the submission test.

Any plain english explanation is gratefully received.

Cheers
GuiGuy 31 Mar, 2015
That's Joomla 3.4, of course. I must have been excited...
GreyHead 31 Mar, 2015
Hi GuiGuy,

The most likely explanation is that they aren't included in the Email template. Hard to say anything else from the info you have given. What do you see when you add a Debugger action to the form ON Submit event?

You probably don't want to use a Checkbox group for a Yes.No option as they allow multiple replies i.e. both Yes and No - use a single Checkbox or a Radio Button group.

Bob
GuiGuy 31 Mar, 2015
Hi
Thanks for the info,. Looking at the "Code" field under the "Code" tab I see the missing fields are not included. I am using "Wizard" mode.
So, if I understand correctty, I have to had missing fields manually? Or is there a "generate" sequence of some sort?

Cheers
GreyHead 31 Mar, 2015
Hi GuiGuy,

No, you shouldn't need to add anything manually if you are using the Wizard.

What kind of inputs are missing/not submitting data? Please post a link to the form so I can take a quick look.

Bob
GuiGuy 31 Mar, 2015
The fields that are missing WERE missing included an email field (VARCHAR, I suspect) and the drop down lists. On the latter that may be my fault. The implementation doesn't seem like anything I'm used to working with.

The email field now is there, but is not included in the email when the form handler submits. I must admit I haven't looked at the page source because I was thing I had missed something in the form design and generation stage. I will have a look later today (early morning here).

Incidentally, I am storing the results in a datatable. That seems to be working OK, with all field values being saved, so that's something.

The form is here: https://ccansw.org.au/index.php/contact1/website-membership
GuiGuy 31 Mar, 2015
Sorry about the grammatical errors, but it seems there's no edit function to correct them.
GreyHead 01 Apr, 2015
Hi GuiGuy,

The form itself looks OK, Provided that you have {email} in the Email template then that value should be shown correctly.

Bob

PS I think that Max has turned the edit off here as we had a lot of spammers who would make a more or less plausible post then return later and pack it with URLs :-(
This topic is locked and no more replies can be posted.