• Resolved Marco

    (@marcoaloga)


    Hi,

    I am using cf7 for years now, but right now I got a problem. I need tot use the <input type=”time”/> field. The page I have to use the field is used as a webview of a smartphone app.

    Is there a way to add the time field manually, just liek other addons do?

    https://wordpress.org/plugins/contact-form-7/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Marco

    (@marcoaloga)

    Ahh, btw, I already tried the Datepicker addon, but the addon adds textfields and a datepicker, but I need the HTML5 fields

    Thread Starter Marco

    (@marcoaloga)

    I didnt really solve it, but for now as dirty solution I copied the “date.php” module and renamed it to time mobule. In functions.php I added the time module in line 281 and in shortcodes.php I added the validate function, but disabled all the validation.

    Not sure what happens in the long run, but for now this is a solution. I would really like to get a clean solution for this 🙂

    See Developer’s Cookbook – create your own custom CF7 tag.

    Thread Starter Marco

    (@marcoaloga)

    Thanks, exactly what I was searching for

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML5 time field’ is closed to new replies.