SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    May 2013
    Posts
    203
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    hidden field populated but not trnsferred to confirm.php neither email(latters the sa

    hidden field populated but not trnsferred to confirm.php neither email(latters the same)

    georgiosrafaelavilla.com/book.php
    after get final price the
    <input type="hidden" id="priceHidden" />
    get populated
    after submit form
    $price=$_POST['priceHidden'];
    of bookingprocessor.php run
    but in confirmation.php
    got "" for $price in other words nothing...

    you can submit with name "test"...
    well?

  2. #2
    Community Advisor bronze trophy
    fretburner's Avatar
    Join Date
    Apr 2013
    Location
    Brazil
    Posts
    1,438
    Mentioned
    45 Post(s)
    Tagged
    13 Thread(s)
    Try giving the input a name value:
    HTML Code:
    <input type="hidden" id="priceHidden" name="priceHidden" />
    Edit: There's also no value set for this tag, so it's not going to return anything
    Edit 2: Ignore that, I've just noticed that the value is populated by your JS!

  3. #3
    SitePoint Addict
    Join Date
    May 2013
    Posts
    203
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    worked thks


Bookmarks

Posting Permissions

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