dynamic form

Results 1 to 3 of 3

Thread: dynamic form

  1. #1
    Join Date
    Dec 1969

    Default dynamic form

    I am creating a input text field like this where the name of the text field will be the column name from the db ....i am creating a form by looping a table....<BR><BR>&#060;input type="text" name="&#060;%=tableTitle.name%&#062;" size="30"&#062;<BR><BR>I want to read the field name and field value in the next page how can I do it ....<BR>any ideas.<BR>Thanks

  2. #2
    Robbe Guest

    Default RE: dynamic form

    &nbsp;<BR> &#039; The form values in the "posted to" page are in the Request<BR> &#039; object. Ex. Request("txtFIRSTNAME")<BR> &#039; This Sub shows all form elements and their values.<BR><BR> Sub GetFormVariables()<BR><BR> Dim oCtrl<BR><BR> For Each oCtrl In Request.Forms<BR> Response.write oCtrl & "&nbsp;&nbsp;&nbsp;" & Request(oCtrl)<BR> next<BR><BR> End Sub

  3. #3

    Default RE: dynamic form

    &#060;%<BR>DIm value<BR>Value = request("YourDatabaseColumnName")<BR>Response.Writ e("YourDatabaseColumnName")<BR><BR><BR>%&#062;<B R>

Posting Permissions

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