Forums

Can't Get Output Data from Multi Fields on CF v5

segun.oloye 06 Mar, 2017
Hello,

Thanks for your great Component.

I can't get output data from multi fields on my form, am getting only from other fields. I also noticed that only data from the first field with label from a four multi field is submitted (Education).

Please have a look at the form on my site below:

http://thegreatbusinessclinic.com/index.php/application-form.

I only get submitted data from 'Institution' alone on the 'Education' section of the multi field.

All other multi field sections from 'Professional Qualification' to 'Computer Skills' are blank.

What do I do to get data from them please?

Thank you.

Segun.
GreyHead 06 Mar, 2017
Hi Segun,

If you have more than one input element with the same name then only the last one will be submitted. You can either give them distinct names like text_1, text_2 or you can use an array name like text[]

Note that IDs should always be unique on the page and should not include []

Bob
segun.oloye 06 Mar, 2017
Thank you so much for your prompt response. I double-checked the names, They all have different names as below:

Field Name: Institution

Field ID: Institution

Field Name: from

Field ID: from

Field Name: to

Field ID: to

Field Name: qualification

Field ID: qualification

Thanks for usual support.
GreyHead 06 Mar, 2017
Hi Segun,

Please look again - here are the first three inputs from the Computer Skills section - they all have the same name and id 'text'
<input name="text" id="text" value="" placeholder="" size="37" class="form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" />
<input name="text" id="text" value="2." placeholder="" size="37" class="form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" />
<input name="text" id="text" value="3." placeholder="" size="37" class="form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" />

Bob
segun.oloye 06 Mar, 2017
I have changed the names and tested but still it's still submitting blank result. Please other sections have the same problem too.
GreyHead 06 Mar, 2017
Hi Segun,

Here is a list of the data being submitted by your form - you will see that many of the input names are still duplicated.
name="address" : address
name="address" : address
name="address" : address
name="captcha" : captcha
name="checkbox96" : 1
name="college_university" : college_university
name="college_university" : college_university
name="college_university" : college_university
name="contact_address" : contact_address
name="course" : course
name="course" : course
name="course" : course
name="course" : course
name="course" : course
name="date" : date
name="date" : date
name="date" : date
name="date" : date
name="date" : date
name="degree" : degree
name="dob" : dd/mm/yyyy
name="email" : example@example.com
name="email" : example@example.com
name="email" : example@example.com
name="email" : example@example.com
name="employer" : employer
name="employer" : employer
name="employer" : employer
name="end_date" : end_date
name="end_date" : end_date
name="end_date" : end_date
name="from" : from
name="from" : from
name="from" : from
name="gross_salary" : gross_salary
name="gross_salary" : gross_salary
name="gross_salary" : gross_salary
name="ip1" : 1.
name="ip2" : 2.
name="ip3" : 3.
name="ip4" : 4.
name="ip5" : 5.
name="marital_status" : marital_status
name="member" : member
name="member" : member
name="member" : member
name="member" : member
name="member" : member
name="ms1" : 1.
name="ms2" : 2.
name="ms3" : 3.
name="ms4" : 4.
name="ms5" : 5.
name="origin" : origin
name="other_name" : other_name
name="others1" : 1.
name="others2" : 2.
name="others3" : 3.
name="others4" : 4.
name="others5" : 5.
name="phone" : 1234567890
name="phone" : 1234567890
name="phone" : 1234567890
name="phone" : 1234567890
name="position" : position
name="position" : position
name="position" : position
name="pro_body" : pro_body
name="pro_body" : pro_body
name="pro_body" : pro_body
name="pro_body" : pro_body
name="pro_body" : pro_body
name="qualification" : qualification
name="qualification" : qualification
name="qualification" : qualification
name="qualification" : qualification
name="qualification" : qualification
name="qualification" : qualification
name="qualification" : qualification
name="radio90" : Yes
name="reason_for_leaving" : reason_for_leaving
name="reason_for_leaving" : reason_for_leaving
name="reason_for_leaving" : reason_for_leaving
name="sex" : sex
name="start_date" : start_date
name="start_date" : start_date
name="start_date" : start_date
name="surname" : surname
name="text83" : text83
name="text85" : text85
name="text87" : text87
name="text92" : text92
name="text_1" : text_1
name="text_2" : text_2
name="text_3" : text_3
name="text_4" : text_4
name="textarea86" : textarea86
name="textarea88" : textarea88
name="to" : to
name="to" : to
name="to" : to
name="year" : year
name="year" : year
name="year" : year
name="year" : year
name="year" : year

Bob

PS I also see that your Check Captcha action is not working. Please drag an Event Loop action into the pink On Fail event of the Check Captcha action.
segun.oloye 06 Mar, 2017
Thanks for your prompt response. But from my Joomla backend in the component settings of each elements in question, I have the names and IDs to be different. What are you suggesting I do please?
segun.oloye 06 Mar, 2017
Please take a look at the result I get in my email from the form submission. You'll see that there's nothing from the Education section and I filled in the first line of four multi field. Also I filled in professional qualification and computer skills but got a blank result.
GreyHead 07 Mar, 2017
Hi Segun,

Well, if you check the form HTML as I have you will see that they are not different. I suggest that you fix this first, once you have that working correctly you will need to re-create the email template.

Bob
This topic is locked and no more replies can be posted.