CMS MADE SIMPLE FORGE

Form Builder

 

[#7601] Unable to submit form even when all required fields are complete

avatar
Created By: Grant O'Neill (gocreative)
Date Submitted: Mon Feb 13 19:07:11 -0500 2012

Assigned To: Ryan Foster (RytoEX)
Version: 0.7.2
CMSMS Version: 1.10.3
Severity: Major
Resolution: None
State: Open
Summary:
Unable to submit form even when all required fields are complete
Detailed Description:
I have two forms, the first of which was created from scratch. When I attempt to
submit the form, I'm given the standard validation error 'Please complete all
required fields'. However, all required fields are definitely completed.

I have identified that the issue is with two particular (non-required) fields.
One is a simple textarea and the other is a multi-select list. If anything is
entered into/selected in either of these fields, the form will not submit and
produces the error mentioned above.

The fields have both been deleted and replaced with new fields, including using
different field names, but the same issue appears. The issue exists on both
forms (the original, and the copy of that).

Example can be found here: http://www.personaltutors.com.au/application-qld

In the example, complete all required fields (including the file upload at the
end), then enter any text into the field 'Please list any tertiary subjects you
are willing to tutor', and the form will not submit. Try the same with selecting
any of the languages in the multi-select immediately below that.


History

Comments
avatar
Date: 2012-02-15 22:40
Posted By: Grant O'Neill (gocreative)

Use this form as an example instead:
http://www.personaltutors.com.au/application-nsw

On the form provided in my original report
(http://www.personaltutors.com.au/application-qld), I have replaced the two
offending fields with text inputs. For one of these fields (tertiary subjects),
this solved the problem. However, for the other (languages), the problem
persists.
      
avatar
Date: 2012-02-16 17:38
Posted By: Grant O'Neill (gocreative)

A further note. After deleting the remaining field that still had the problem,
another existing field has taken on the problem instead. By that I mean there
was a 'comments' textarea on the form all along, and it worked fine. But when I
deleted the 'languages' field (the one with the problem), now the 'comments'
field is exhibiting the problem. This is really quite bizarre.
      
avatar
Date: 2012-02-28 21:02
Posted By: Ryan Foster (RytoEX)

I'm trying to follow along with your description, but it seems you've changed
things around a bit.  Which form is safe to submit test/fake data to?  I'd
rather not submit fake data to someone expecting real entries.

I see that you still have a textarea in both forms.  Is the textarea still
causing problems?  Are you using any special validation options?
      
avatar
Date: 2012-02-28 21:23
Posted By: Grant O'Neill (gocreative)

Yes, I had to act quickly to resolve the issue so I deleted and recreated a
couple of fields, as per my previous comment. The problem still exists though -
try to submit the form at http://www.personaltutors.com.au/application-qld and
you'll see that you need to enter something into the comments in order for the
form to be submitted. Another time previously, however, the form would only
submit if there was NOTHING in the comments. So the problem is truly bizarre.

If you just ensure that you write 'test' somewhere in the form, that will be
fine.

I'm not using any special validation or any other 'non-standard' modifications
to the FormBuilder module.
      
avatar
Date: 2012-03-03 01:05
Posted By: Grant O'Neill (gocreative)

Update: The field that causes the issue seems to randomly change. For example,
now the 'Tertiary fields' subject needs to be empty in order for the form to be
submitted successfully. This has never been a problem previously with this
field, and nothing about the form or the website was changed prior to this field
having an issue.
      
avatar
Date: 2012-04-02 01:59
Posted By: Grant O'Neill (gocreative)

To help with diagnosing this problem, I have set up a copy of the website and
form here:

http://persopv.customers.hosting-toolkit.net/application-qld

1) Completing all required fields (including a file upload) produces a 'Please
complete all required fields' error.
2) Leaving optional fields blank will also produce that same error.
3) The only way to submit the form is to enter something into every field.
4) Attachments are no longer being uploaded (spontaneous new issue as of today).

To summarise the history of this issue for you, the form worked for months
without issue using CMSMS v1.9.4.3 and FormBuilder 0.7.1. Without any core or
module upgrades, the above issues suddenly appeared.

Goran Ilic has previously tested the form but could not reproduce the errors,
then the following day he did have the same issues. He has exhausted all options
that he can think of.

To determine whether the issue was server-related, I have duplicated the entire
website and uploaded to a new server. The issues persisted. I then upgraded to
CMSMS v1.10.3 and upgraded all modules (including applying a manual bugfix to
CGUserDirectory). The issue remains.

I have updated the bug details above, according to my upgrades.

When the form is submitted, some of the information is emailed to the submitter
of the form, including their attached resumé, and another email is sent to the
business owner advising of a new applicant. While the email is being sent to
both parties (by completing every field on the form, even when they are
optional), the resumé is not attached to either email.

If you would like backend access to the site, please send me a message.
      
Updates

Updated: 2012-04-02 01:59
version_id: 29244 => 29510
cmsms_version_id: 29166 => 29495

Updated: 2012-02-28 21:23
cmsms_version_id: 29321 => 29166

Updated: 2012-02-28 21:02
assigned_to_id: 100 => 13490

Updated: 2012-02-15 22:40
resolution_id: => 5