Send data to form field

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

  1. #1

    Default Send data to form field

    Hi, I want to have a button, that when clicked goes to a .htm or .asp page
    with a form in it, populating one of the form fields. ie. the visitor is
    interested in a certain tour, when they click on the button, they go to an
    enquiry page with a FORM and the TOUR NAME field is populated by data attached
    to the button.. Does this make sense?? Any ideas greatly appreciated..
    Regards, Ken

    Ken_iversen Guest

  2. Similar Questions and Discussions

    1. Autopopulated form not displaying data in pdfunless the form field is clicked
      Within my online application, I have a pdf form that is auto generated and displayed to the user in the browser. My problem is that the populated...
    2. load/send XML data via HTML form
      I currently have a Flash app that gets populated by parsing data from an external XML file. However, I need to get the XML data into a (JSP) session...
    3. Send data from a form through email without using CFMAIL
      Newbie question: I have this form that collects data from input boxes and would like to send that data to an email address. Is there a way to do...
    4. Form in email to send cf data to website
      :confused; Okay so I am doing this newsletter and I want to include a form in the newsletter to get reader response. Now when the submit button...
    5. Send current record data in one form to another and print?
      On Tue, 15 Jul 2003 10:09:12 -0700, "Seddon Acaster" <seddonandjulia@acas.demon.co.uk> wrote: Clarification: The Form doesn't contain any...
  3. #2

    Default Re: Send data to form field

    What you need is: A form with a hidden value of the TourName - this could be
    next to each Tour that is listed so it get the tour name. This form posts to
    the 'Register me' or 'I want more info' page that takes the hidden form value
    and uses that as the default value of the TourName Text Form field.
    TourListing.asp <form action='ContactForm.asp' method='POST' name='Tour'>
    <input name='TourName' type='hidden' id='TourName' value='The Tour Name'>
    <input type='submit' name='Submit' value='Contact Us'> </form> ContactForm.asp
    <form action='SendDetails.asp' method='POST' name='ContactForm'> <input
    name='TourName' type='Text' id='TourName' value='<%=Request.Form('TourName'%>'>
    <input name='FName' type='Text' id='FName' value=''> <input type='submit'
    name='Submit' value='Contact Us'> </form> Hope this helps

    boy mackman Guest

  4. #3

    Default Re: Send data to form field

    Wow, this looks great..
    Two items I am not sure about,

    SendDetails.asp ? what should be in this .asp page?
    FName? what is the part played by this field?

    Thanks again..
    Ken
    Ken_iversen Guest

  5. #4

    Default Re: Send data to form field

    Sorry, it was 3:30am and mind not working..
    I know what those fields are of course..
    Thanks for the help.........

    Regards, Ken
    Ken_iversen Guest

  6. #5

    Default Re: Send data to form field

    :D Hi Ken, Paul from Sydney (FOD) email [email]pavelb@optusnet.com.au[/email] - please contact
    pavelb 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