질문이있는 양식이 있고 그 답은 확인란입니다. 마지막 답은 텍스트 상자의 확인란을 선택할 때 다른 옵션을 지정하십시오 가능하게하고 그것에 쓸 수 있습니다.텍스트 상자 값을 확인란 상자 값으로 바꿈
내 답변은 배열에 저장됩니다.하지만 이제는 문제가 있습니다. 양식을 제출할 때 옵션이 선택되었을 때 채워지는 텍스트 상자의 값으로 다른 옵션을 지정하십시오. . 당신은 실제로 입력 이름의 일부 기능을 이용할 수 있습니다
<table>
<tr>
<td colspan="3" style="border-bottom:none">d. If you checked the boxes " very poor or poor clients", which reference point/benchmark do you use for estimating the poverty level of your clients? (Check all that apply): </td>
<td>
<input type="checkbox" name="sdd1[]" value="Persons in the bottom 50% of those living below the poverty line established by the national government"/>Persons in the bottom 50% of those living below the poverty line established by the national government <br />
<input type="checkbox" name="sdd1[]" value="Person living on less than US $1 a day international poverty line"/>Person living on less than US $1 a day international poverty line<br />
<input type="checkbox" name="sdd1[]" id="check" onclick="disableMe('mfi_1_d_i_a',this)" value="mfi_1_d_i_a" />Other(please specify):
<input type="text" name="mfi_1_d_i_a" class="init" id="mfi_1_d_i_a" maxlength="30" disabled="disabled"/> </td>
</tr>
</table>