×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    Submit a name to another page

    Hi!
    I would like to make an input field where i can enter a name. Then I would like to press the accept button and submit the name to the origin server, the name is supposed to be submitted to another wml-page. How can i do that??
    (This problem is related to submitting forms in html-code)

    Thanks in advance

    Posted by henrik winberg, henwi330@student.liu.se
    on June 22, 2000 at 12:31

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: Submit a name to another page

    Hi-

    To submit the value of an input box
    to the server from the accept button - use the
    following:


    type='accept' label='go'>
    href='next_file' method='post'>
    name='sent_value'
    value=$(input_name)/>



    name='input_name'
    type='text'/>




    The
    above code will send the value of the input box
    to the server as a variable named
    "sent_value".

    Alternatively,
    you could send the variable as part of the URL .
    href='next_page?sent_value=$(input_name)'>

    Hope
    that helps
    Clarissa

Posting Permissions

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