61 users online (1 members and 60 guests)  


  Results 1 to 2 of 2

Related

  1. 1 submit, 2 form posts    Forum: Website Scripts Forum
    Replies: 1
  2. Dynamic form fields    Forum: Website Scripts Forum
    Replies: 1
  3. Form Submit Problem    Forum: HTML Forum
    Replies: 2
  4. submit form problem    Forum: HTML Forum
    Replies: 0
  5. form submit button    Forum: HTML Forum
    Replies: 1
  1. #1
    rbooz946's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Location
    Philadelphia, PA
    Posts
    2

    Question help submit dynamic filename in form

    I have several help files and want to create a form that takes text input. This input would be taken to dynamically create an automatically submitted http link using that filename. I know the attached form does not work, but may help explain what I am trying to do. Thanks for any help!
    <FORM>
    <INPUT type="text" name="file" size="6">
    <INPUT type="button" value="file" onClick="'http://www..org' + file + '.htm';">
    </FORM>

  2. #2
    rbooz946's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2006
    Location
    Philadelphia, PA
    Posts
    2

    Re: help submit dynamic filename in form

    Perserverance pays off. I resolved the problem as follows:
    <form>
    <INPUT type="text" name="file" size="6">
    <INPUT type="button" value="Enter file"
    onclick="window.location='http:\\www...org\\' + file.value + '.htm';">
    </FORM>
    Thanks anyway



Tags for this Thread