why checkboxe's name attribute must be the same?
okay i get it,for radio boxes if all the related input elements have the same name attribute it leads user to check only one option.but what about checkboxes?why all related checkbox inputs must have the same name attribute?

sorry if this question is dumb :stuck\_out\_tongue: thanks
giving a name to checkboxes means grouping them together to the same question

if you have 10 questions, and each has 5 checkboxes, and you don’t group them together, that would mean having 50 checkboxes lumped together - maybe you have also pretty similar values etc…

you give each checkboxes group…
The physical and chemical properties of elements depend on the number of valence electrons. Elements present in the same group have the same number of valence electrons. Therefore, elements present in the same group have similar physical and chemical properties. the voting & ratings system is very different.

you get ratings usually from the other answerers on that question, & votes come from people who go to the vote section to vote on multiple questions for some extra points.

there are also answerers who vote for themselves, & yes, some of them do cheat & use email to tell their friends which answers to vote on. i've seen it done many times. in general terms, i would say that it is a default value. it is always good to put it, but in most cases it it the default. you’re on the right track.

is the name column of the choices table of the same column type as the 1st place and 2nd place columns?

please post a screenshot of the error message and the complete expression to which it refers. hi [@ecarmona](/u/ecarmona),

thanks for your question, this is definitely something that can be improved in the documentation.

in this context name is not referring to a specific field in the saved object, it's referring to the value of the name property of the reference itself. the reason for this is that the i… in order to have the election process more democratic there are few pre-requisites like:a. one vote, one value: to choose/elect the representative everyone must have one note with equal value. this is to avoid any type of conflicting situation.b. regular election: there should be regular elections in every democratic country so that people have their choice at regular intervals.c. free and fair election: in order to ensure a fair chance to the people there should be a free and fair election in every democratic country.d. political competition: in order to have democratic election parties, candidates should be free to contest elections and should offer some real choice to the voters. it’s generic. it’s good or bad. i got the same email before getting hired at google. it could also be a rejection. good luck! can you try with other dropdowns? if its working , nothing wrong with your code and something to do with that specific drop down. Ok these are 2 different questions. It would be best if you separated these requests. I will try to address the first as this is the premise described by your title.


You simply need to check for the checkbox name existing in the $\_POST superglobal array and check asgainst a non-zero length string in the trimmed $\_POST var for the "other" input box.


However, a bit confused. Your table structure is not normalized. Anyway.



```
<input type="checkbox" name="petathome[]" value="Others"
onclick="enableElement(this.form.elements['inp6']);">
Others: <input type="text" name="inp6" disabled="disabled">

```

Change this to... (note change of name for checkbox)



```
<input type="checkbox" name="others" value="Others"
onclick="enableElement(this.form.elements['inp6']);">
Others: <input type="text" name="inp6" disabled="disabled">

```

The php handling code...



```
$pets = (array) $_POST['petsathome']; //casting not strictly required here
if(isset($_POST['others']) && trim($_POST['inp6'])) $pets[] = $_POST['inp6'];

$petsathome = implode(", ", $pets);

```

Not tested - off top of head.


NB. As your data is not normalized, difficult to build an edit form if ever you need to do this. hi chris, 
if you use relations api, you may set properties field in your query. in this field you should set the names of the properties which values must be retrieved from the server. the argument should be a string in the following format: "propertyname1, propertyname2, , , propertynamen" , wher…