URL parameter to form

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default URL parameter to form

    I called a html page from a Perl script and inserted URL parameters. e.g.
    page.html?lastname=sam&firstname=hello
    I now need to populate a form in page.html and populate the text fields. I do
    not have access to the type of server (probably Apache, OS or Web server
    unknown). How can I populate the text fields for editing. When the text
    fields/form is complete I will be executing another Perl script to send an
    email.

    Thanks,


    sss1983 Guest

  2. Similar Questions and Discussions

    1. Pass URL Parameter from html form to flash form
      In CF, I have a link to a form to update a students attendance; takeattendancehv1.cfm?StudentID=#allstudents.StudentID# . I'm using a flash form in...
    2. #39427 [NEW]: cancel_upload parameter get wrong value when using multi field upload form
      From: krudtaa at yahoo dot com Operating system: Windows XP Pro PHP version: 5.2.0 PHP Bug Type: HTTP related Bug...
    3. Parameter Search Using Form Variable
      I have a connection to the SQL Server 2000 database and a data set made up a a collection of personnel records. I set up the data set with a...
    4. Date Parameter For Saved Parameter Queries
      Hi again, I finally got to using saved parameter queries in my application (a big thank you to Bob Barrows for helping me with this). Currently...
    5. Parameter Reports with a form to enter in dates
      I would like to create a Parameter Report. I want the user to type in/select the dates for input from another form. This could be typing in the...
  3. #2

    Default Re: URL parameter to form

    Have you tried the $_GET method? I use this all the time with PHP and I think
    it also works with PERL. If you submit a form to a .pl script try this:

    To get the values from the URL you need to assign a variable to them such as:

    $lastname=$_GET[ 'lastname' ];
    $firstname=$GET[ 'firstname' ];

    That will get the values from the url. Now you can use $lastname and
    $firstname in your new form by calling on them.

    If you use the post method instead of get just change the GET to POST.

    Hope this helps.

    jman25 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139