• I have tested booking form and process and got a strange result. As standart fields are filled correctly I get all the correct data except the phone number which is never stored. May be there should be a specific format to get the phone number stored?
    Please advise.

Viewing 6 replies - 1 through 6 (of 6 total)
  • (imho) I would say this is a bug:
    in bookingform.php the field is called user_phone,
    in the db table the field is called dbem_phone.
    When I changed user_phone in dbem_phone the phone was saved ok and displayed in the admin sction.

    Also, there is a rogue in the id of the user_phone:
    id=”user_phone” instead of id=”user_phone”

    HTH

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    i will change that to dbem_phone

    I have the same problem with the phone number not being stored and subsequently not appearing on email.

    I don’t quite follow what has to change, I have already tried these three options but can’t get any success. Please can you tell me what to do.

    <label for='dbem_phone'><?php _e('Phone','dbem') ?></label>
    <input type="text" name="user_phone" id="user_phone" class="input" />
    
    <label for='user_phone'><?php _e('Phone','dbem') ?></label>
    <input type="text" name="user_phone" id="dbem_phone" class="input" />
    
    <label for='dbem_phone'><?php _e('Phone','dbem') ?></label>
    <input type="text" name="user_phone" id="dbem_phone" class="input" />

    [Please post code snippets between backticks or use the code button.]

    close, but not close enough:

    label for, id and name should all be the same, like this:

    <label for='dbem_phone'><?php _e('Phone','dbem') ?></label>
    <input type="text" name="dbem_phone" id="dbem_phone" class="input" />

    hth

    Yay, it works!

    Thanks for the help.

    great.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Events Manager] Strange behavior of booking – phone is not stored’ is closed to new replies.