SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2005
    west Coast New Zealand
    0 Post(s)
    0 Thread(s)

    Unhappy Refernce form elements using a href

    Hello everyone

    I have a problem with reading data from a form element(s). Instead of using a Type=Submit, I have chosen to use a hyper-link to call a select case structure which adds, edits or deletes a record depending on the contents of the action property.

    here is a couple of lines showing two text box's in my form, directly following is the href that passes data to the select statement.

    <td><input type="text" name="Desc" id="descid" size="55" /></td>
    <td><input type="text" name="Units" id="Text1" size="4" /></td>

    <td align=right><a href="<%= SCRIPT_NAME %>?action=add&jdate=<%= dDate %>"><img src="Web-add.bmp" alt="Add" width="63" height="25" border="0" /></a></td>

    I would like to include the values from the form elements in the action string but have so far drawn blanks.

    I have attached the full form code.

    I hope I have explained thinks ok, Thanks in advance for any help.

    Jamie Hales
    Attached Files Attached Files

  2. #2
    SitePoint Wizard gold trophysilver trophybronze trophy dc dalton's Avatar
    Join Date
    Nov 2004
    Right behind you, watching, always watching.
    0 Post(s)
    0 Thread(s)
    Youve posted thsi inthe wrong section ... this is the support section for this forum.

    Ill ask a mod to move it to someplace you'll get more help!


Posting Permissions

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