Attempting to pass non form input values with form submission.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Stiofan
    New Member
    • Oct 2012
    • 1

    Attempting to pass non form input values with form submission.

    Hi,

    This may be a bit of a noob question.
    I am writing a page which has a list of offers each with a checkbox input and 'id' set.

    Later in the page a form is used to capture visitors name and email address.

    I was thinking of using hidden input fields in the form, but am having difficulty transferring the values. Im thinking I'll have to go javascript, but am not as comfortable with it as I am with PHP.

    If anyone has a better idea, I'm all ears.

    ** The Checkboxes are not part of the form as they are part of an unordered list & for styling purposes **
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    So.. why not just make them part of the form?

    Comment

    Working...