Forums

javascript releted issue

vaibhavi 17 Dec, 2010
hello bob,
i used chrono contact component version:3.0 STABLE
and also used chrono contact plugin version: 0.8/V3.0 Stable

My problem is...

1) In My form two radio button is available and code of that radio button is..
<tr>
                    	<th> lienholder</th>
                        <td> <input name="lineholder" id="lblineholderyes" type="radio" value="Yes" />Yes<input name="lineholder" id="lblineholderno" type="radio" value="No" />No </td>
                    </tr>


2)now when i click on Yes then My Div id="ifchange" is enable and i fill all the text box
<div id="ifchange">
		    <table border="0" cellpadding="0" cellspacing="0" class="contable">
            	<tbody>
                    <tr>
                        <th style="width:55%;"> if yes,</th>
                        <td style="width:45%;"> <input type="text" name="ifyes" id="ifyes"  class="ttext" /></td>
                    </tr>
    	            <tr>
                      <th> Name :  </th>
                      <td><input type="text" name="nameyes" id="nameyes"  class="ttext" /></td>
	                </tr>
                    <tr>
                    	<th valign="top"> Address</th>
                        <td> <textarea class="ttextarea" rows="10" style="height:100px;" name="addyes" id="addyes">
                            </textarea></td>
                    </tr>
                    <tr>
                    	<th> Loan Number</th>
                        <td> <input type="text" name="loan" id="loan"  class="ttext" /></td>
                    </tr>
                    <tr>
                    	<th> Phone Number</th>
                        <td> <input type="text" name="phno" id="phno"  class="ttext" /></td>
                    </tr>
                    <tr>
                    	<th> Fax Number</th>
                        <td> <input type="text" name="fax" id="fax"  class="ttext" /></td>
                    </tr>
                    
                </tbody>
            </table>
			</div>



3) and when i click No then Div id="ifchange" is disable and any one can't fill in text..

please bob help me...or any other help me related this issue..

which java script i used and the main thing is when i put java script code in chono contact component
GreyHead 17 Dec, 2010
Hi vaibhavi,

The JavaScript will go in the Form JavaScript box. I'm sorry that I don't have time right now to write your script for you. There are examples in the forums here and you can find more with Google.

Bob
vaibhavi 18 Dec, 2010
hello bob,
thank for replay me...
i use some java script in javascript box but is't not work..
that's why i m asking to you..
but no problem i will try again ...
thank you very much🙂
This topic is locked and no more replies can be posted.