html forms

A

- Anne

Is there a way to create an html form that would complete the following
function:

1. User enters data (this is a test) in search box and clicks submit.
2. When the user clicks submit, he is automatically redirected to the
webpage http://www.mydomain.com/this-is-a-test.htm Note the spaces are
replaced with hypens and the webpage is the one he typed in the search obx.
 
R

Ronx

Take a look at http://www.rxs-enterprises.org/tests/jspass
The simple method (at
http://www.rxs-enterprises.org/tests/jspass/simple.htm ) is what you are
looking for, but the method on this page will stop the user seeing a 404
error if they type in an incorrect page name. This will need to be
adapted to remove the userid field.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp

FrontPage Support: http://www.frontpagemvps.com/
 
A

- Anne

Thanks, the simple method looks like almost exactly what I need. The only
issue with it is if you type in a phrase such as "this is a test", you are
sent to www.domain.com/this%20is%20a%20test.htm.

The spaces are replaced with %20.

I know there are hacks out there to replace %20 with hypens, I'll have to
see if I can find one.
 

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.

Ask a Question

Top