I have to say that doing things with Flash forms being "easy" is a
relative term.
The functionality that is required in this instance is _not_ a simple
field bind.
To do this with Javascript would probably be just as easy, if not easier.
<script language="javascript">
function addnumber(thisOption) {
thisForm = document.nameform;
if (confirm('Are you sure you want to add this number to the list?') {
if (thisForm.selectedMobiles.value.length > 0)
thisForm.selectedMobiles.value=thisForm.selectedMobiles.value+chr(10);
thisForm.selectedMobiles.value =
thisForm.selectedMobiles.value+thisOption.value;
}
}
</script>
<form name="nameform">
<select name="namelist" onchange="addnumber(this)">
<option value="07990909909">Joe Bloggs</option>
<option value="07123123132">Jane Bloggs</option>
</cfselect>
<textarea name="selectedMobiles"></textarea>
</form>
Please be aware, I just typed that form and JS straight into the email,
so is likely to have some minor errors, but the basic idea is correct.
Regards
Stephen
Mark Drew wrote:
>Using flash forms is pretty easy, will come back with a sample for you in a
>few minutes :)
>
>MD
>
>On 14/09/05, paul gordon <[EMAIL PROTECTED]> wrote:
>
>
>>>This is fairly easy using Flash forms in CFMX 7, is this what you are
>>>
>>>
>>using
>>
>>
>>>or is it normal HTML forms?
>>>
>>>Regards
>>>
>>>Mark Drew
>>>
>>>
>>>On 14/09/05, MrG <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>I'm doing it in a standard HTML form. Would using Flash Forms be better?
>>
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218171
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54