Hi
Yes
First add a form to your site (Insert-form) then a insert a drop down box
(Insert-form-drop down box) right click on the on the drop down box and
choose form field properties,you can enter drop down catagories there
Paul M
Thanx Paul,I think I have that part down pretty well. What I was wondering
was, is there a way that the visitor filling out the form can add a selection
to the drop-list or is there a way that I can include an area to enter user
supplied info into the same area of the form.
My users will usally be making a selection from the drop-list supplied but I
need a way for them to enter a selection that has not been supplied into the
same area on the form. I will have to add selections to the list but that
could get time consuming or bring them to a halt if I have not yet modified
the drop-list using FP. I am trying to make it easier on me to keep the
drop-list updated.
If you want the selection to remain in the drop-down list and re-appear
whenever a user logs in, you will need some server-side programming to do
this.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Everybody picks their nose,
But some people are better at hiding it.
Add a selection "Other" to the drop down list.
and add a text box to the form to write the selection in.
Use JavaScript triggered by the form submit event to validate the
dropdown and textbox similar to
<pseudo-code>
function validate()
If selection == "Other" then
If textbox.value == "" then
alert("Add selection to textbox")
return false
endif
else
if textbox.value <> "" then
alert("Leave box empty if selected from list")
return false
endif
endif
return true
endfunction
</pseudo-code>
This should also be validated server-side if possible.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.