Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Input fields

  1. #1
    New Coder
    Join Date
    Dec 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Input fields

    Hello

    I have a question for input fields. I have the input field below.

    <FORM METHOD=post ACTION="/cgi-bin/example.cgi">
    <INPUT type="text" size="10" maxlength="30">
    <INPUT type="Submit" VALUE="Submit">
    </FORM>

    I am wondering what code to use so that the characters entered in in the input field are then written into an href="" link and an src="" link

    For example:

    When I input say "www.myspace.com" into my input field I would like the characters "www.myspace.com" to be written into the href="" and src="" links below

    href="http://www.ebay.com"

    src="http://www.ebay.com"

    so that they become

    href="http://www.myspace.com"

    and

    src="http://www.myspace.com"


    If anyone knows how to do this and can point me in the right direction please let me know, I will take any and all advice.

    Thanks in advance and Have a Happy New Year!

    Mike

  • #2
    New Coder
    Join Date
    Aug 2006
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh

    Do you mean something like php?

    If you do then you would have to make a pre-prosessing and a processed page

    like this?
    Last edited by haveacigar; 12-31-2006 at 04:15 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •