I have a form that is collecting preferred mailing address
information - (drop down to select home or work then text fields
for the actual home and work address data).
If the person selects their preferred mailing address is home
- I need those specific text fields to require entry. And vice
versa with the work address fields if they select that work is
their preferred address.
Does any one have any suggestions on doing this - either with
cold fusion, javascript, cfform? Help please!!
<cfsavecontent variable="y">
different cfinput tags etc
</cfsavecontent>
<script>
<cfoutput>
use toscript() to convert x and y to js variables
</cfoutput>
function to change the value of your div
</script>
<cfform>
<select call your function with the onChange attribute>
<cfoutput>
<div id="something">
#x#
</div>
etc
Hi, Thank you for the info - but that is a bit over my head.
I realize i posted this question in the advanced section - but i am
not that advanced of a coder. I was hoping someone might have an
example of something already.