i have this code:
Amount<input type='text' name='amount' size='10'><br>
Free<input type='text' name='fees' size='10'> <br>
------------<br><input type='radio' name='amount_type' value='Receive'checked> Receive<br><input type='radio' name='amount_type' value='Send'> Send<br>
-------------<br><input type='radio' name='curr' value='LBP'checked> LBP<br><input type='radio' name='curr' value='USD'> USD<br>
what i want to do is
if amount more than 5000 , check radio button curr : value LBP else check usd
if fees are inserted , in radio button amount_type : check Receive else check send.
can you assist please