• Resolved barbje

    (@barbje)


    hi

    i am trying to get this working

    in Contact form 7 FORM Tab i have this

    • Aankomstdatum (wij verhuren van zaterdag t/m zaterdag)<input type “text” id=”date-field” />
    • Vertrekdatum (wij verhuren van zaterdag t/m zaterdag)<input type “text” class=”calendar-field” />
    • now in MAIL Tab i have this
      Aankomstdatum: [id=”date-field”]
      Vertrekdatum: [class=”calendar-field”]

      but when i press Send i dont see the date been emailed

      please help

      thx

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Yes, because your body is missing the shortcodes regarding date-field and other. Kindly name the fields properly like this in email:

    Aankomstdatum: [date-field]
    Vertrekdatum: [calendar-field]

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Your shortcodes are incorrect in mail tab

    Aankomstdatum: [date-field]
    Vertrekdatum: [calendar-field]

    • This reply was modified 6 years, 7 months ago by Fahad Mahmood.
    Thread Starter barbje

    (@barbje)

    hi Fahad

    i did what you said but no luck
    this is what i receive then in my mailbox

    Aantal Personen: 5

    Aankomstdatum: [date-field]

    Vertrekdatum: [calendar-field]

    Hebt u al eerder geboekt bij ons?: Nee

    so date and calendar should be the chosen dates

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Because your fields in the form is having only ID not the name. Input type=text” name=”” attribute is missing, i doubt.

    Thread Starter barbje

    (@barbje)

    i have this now

    • arrival date (from saturday-saturday) <input type id=”date-field”/>
    • i tried so many other options but no luck

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Try like this <input type id=”date-field” name=”date-field”/>
    else please check this demo website https://demo.androidbubble.com/wp-datepicker/
    it’s working here already, in case you need to contact me, you may

    Thread Starter barbje

    (@barbje)

    i dont get it to work

    i am leaving now for 3 days abroad, will contact u later if i need to
    thx for ur help so far

    Thread Starter barbje

    (@barbje)

    before i go i send you my code
    all lines like name, address etc… works but the datepicker fails to mail the chosen dates…

    in Formtab;

    <fieldset>

    1. Naam en voornaam [text cf7s-name]
    2. Volledig adres[text cf7s-address]
    3. Email [email cf7s-email]
    4. Aantal personen (min. 2 – max.6) [text* cf7s-number]
    5. Aankomstdatum (wij verhuren van zaterdag t/m zaterdag) <input type id=”date-field” name=”date-field”/>
    6. Vertrekdatum (wij verhuren van zaterdag t/m zaterdag) <input type class=”calendar-field” name=”calendar-field”/>
    7. in Mailtab;

      Van: [cf7s-name]
      Email: [cf7s-email]
      Adres: [cf7s-address]

      Aantal Personen: [cf7s-number]

      Aankomstdatum: [cf7s-date-field]

      Vertrekdatum: [cf7s-calendar-field]

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Kindly use your points 5 and 6 as point number 4

    [text* date-field] instead of < input type id=”date-field” name=”date-field” >

    And

    [text* calendar-field] instead of < input type id=”calendar-field” name=”calendar-field” >

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Also correct in your mail tab for those two fields

    [date-field] instead of [cf7s-date-field]

    [calendar-field] instead of [cf7s-calendar-field]

    Thread Starter barbje

    (@barbje)

    got it working finally ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘date-field and calendar-field integration’ is closed to new replies.