• Resolved noorjan77

    (@noorjan77)


    Hi i have problem with timepicker field it doesn’t show the time.

    So basically it’s useless when someone goes to my website and fill up my contact form then for time they select on the first I get blank.

    Here is the form which I exported.

    {“type”:”form”,”data”:{“fields”:[{“id”:”text-1″,”element_id”:”text-1″,”form_id”:”wrapper-9944-6358″,”placeholder”:”E.g. John Doe”,”type”:”text”,”wrapper_id”:”wrapper-9944-6358″,”cols”:12,”required”:true,”field_label”:”Full Name”,”options”:[],”default”:””,”default_value”:””,”custom-class”:””,”conditions”:[],”required_message”:”The field is required.”},{“id”:”phone-1″,”element_id”:”phone-1″,”form_id”:”wrapper-3902-4454″,”placeholder”:”E.g. 07878787878″,”type”:”phone”,”wrapper_id”:”wrapper-3902-4454″,”cols”:12,”required”:true,”field_label”:”Phone Number”,”options”:[],”default”:””,”default_value”:””,”custom-class”:””,”conditions”:[],”required_message”:”The field is required.”,”validation_message”:”The telephone number is invalid.”,”validation”:”true”,”phone_national_country”:”GB”},{“id”:”email-1″,”element_id”:”email-1″,”form_id”:”wrapper-1210-3561″,”type”:”email”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-1210-3561″,”validation”:false,”placeholder”:”E.g. [email protected]”,”field_label”:”Email Address”},{“id”:”url-1″,”element_id”:”url-1″,”form_id”:”wrapper-8293-4782″,”type”:”url”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-8293-4782″,”field_label”:”Website”,”placeholder”:”E.g. http:\/\/www.example.com”},{“id”:”select-1″,”element_id”:”select-1″,”form_id”:”wrapper-6916-1842″,”placeholder”:”Choose an option”,”type”:”select”,”wrapper_id”:”wrapper-6916-1842″,”cols”:12,”required”:true,”field_label”:”Select one”,”options”:[{“label”:”Need Some Updates on my website”,”value”:”need-some-updates-on-my-website”,”limit”:””,”default”:false},{“label”:”Something About Pro Plan”,”value”:”something-about-pro-plan”,”limit”:””,”default”:false},{“label”:”Something About Premium Plan”,”value”:”something-about-premium-plan”,”limit”:””,”default”:false},{“label”:”Something About eCommerce”,”value”:”something-about-ecommerce”,”limit”:””,”default”:false},{“label”:”Something About Hosting”,”value”:”something-about-hosting”,”limit”:””,”default”:false},{“label”:”Something About Existing Website”,”value”:”something-about-existing-website”,”limit”:””,”default”:false,”key”:”2196-3700″},{“label”:”Something Else”,”value”:”Something Else”,”limit”:””,”default”:false}],”default”:”Basic Plan”,”default_value”:”Basic Plan”,”custom-class”:””,”conditions”:[],”required_message”:”The field is required.”},{“id”:”date-1″,”element_id”:”date-1″,”form_id”:”wrapper-508-9477″,”type”:”date”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-508-9477″,”field_type”:”picker”,”date_format”:”mm\/dd\/yy”,”default_date”:”none”,”field_label”:”Date”,”placeholder”:”Choose Date”,”icon”:”true”,”day_label”:”Day”,”day_placeholder”:”E.g. 01″,”month_label”:”Month”,”month_placeholder”:”E.g. 01″,”year_label”:”Year”,”year_placeholder”:”E.g. 2000″,”restrict_message”:”Please select one of the available dates.”,”start-date”:”today”,”end-date”:”today”,”end-offset-value”:”30″},{“id”:”time-1″,”element_id”:”time-1″,”form_id”:”wrapper-9464-7804″,”type”:”time”,”options”:[],”cols”:12,”conditions”:[],”wrapper_id”:”wrapper-9464-7804″,”field_type”:”select”,”time_type”:”twentyfour”,”field_label”:”Choose a time between 8:00 AM To 19:00 PM”,”hh_label”:”Hours”,”hh_placeholder”:”E.g. 08″,”mm_label”:”Minutes”,”mm_placeholder”:”E.g. 00″,”restrict_time”:”specific”,”restrict_start_hour”:”8″,”restrict_end_hour”:”19″,”restrict_end_ampm”:”pm”,”restrict_message”:”Our Call back opening times are 7 days a week from 8am to 7pm. Please book during these hours thanks.”,”increment_hour”:”0″,”increment_minute”:”0″,”condition_rule”:”all”,”default_time”:”default”,”default_time_hour”:”8″},{“id”:”textarea-1″,”element_id”:”textarea-1″,”form_id”:”wrapper-8448-5082″,”placeholder”:”additional information”,”type”:”textarea”,”wrapper_id”:”wrapper-8448-5082″,”cols”:12,”required”:false,”field_label”:”Anything Extra You Want To Add”,”options”:[],”default”:””,”default_value”:””,”custom-class”:””,”conditions”:[],”required_message”:”The field is required.”}],”settings”:{“pagination-header”:”nav”,”paginationData”:{“pagination-header-design”:”show”,”pagination-header”:”nav”},”form-border-style”:”solid”,”form-padding”:””,”form-border”:””,”fields-style”:”custom”,”validation”:”on_submit”,”form-style”:”default”,”enable-ajax”:”true”,”autoclose”:”true”,”submission-indicator”:”show”,”indicator-label”:”Submitting…”,”use-admin-email”:”1″,”admin-email-title”:”Web Designer Luton \”[your-subject]\””,”admin-email-editor”:”this is email from your call back request someone has fill in your contact us form in your contact us page.\n\n\nhere is their details if you want to contact them thanks\n\n\nName: {text-1}\nNumber: {phone-1}\nPlan they pick: {select-1}\nextra information: {textarea-1}”,”admin-email-from-name”:”Web Designer Luton”,”admin-email-from-address”:”[email protected]”,”admin-email-reply-to-address”:”[email protected]”,”admin-email-recipients”:[“[email protected]”],”use-user-email”:””,”formName”:”call back request”,”thankyou-message”:”<p>Thank you {text-1} Your call back request has been booked successfully.\u00a0 We will call you on {date-1}\u00a0<\/p>\n<p>at\u00a0 {time-1}<\/p>”,”honeypot”:””,”validation-inline”:”1″,”submitData”:{“custom-submit-text”:”Request Call Back”,”custom-class”:””},”pagination-header-design”:”off”,”poll-padding”:”custom”,”poll-border”:”custom”,”submission-behaviour”:”behaviour-thankyou”,”form_name”:”call-back-request”,”form_status”:”publish”,”version”:”1.13.4″,”cform-color-settings”:”true”,”button-submit-background-static”:”#996633″,”button-submit-background-hover”:”#ff6600″,”spacing”:”5″,”form-padding-left”:””,”form-padding-right”:””,”form-border-radius”:””,”form-border-width”:”1″,”autoclose-time”:”15″,”use-custom-css”:””,”custom_css”:””},”client_id”:null,”notifications”:[{“slug”:”notification-1111-2222″,”label”:”Admin Email”,”email-recipients”:”default”,”recipients”:”[email protected]”,”from-name”:”Web Designer Luton”,”form-email”:”[email protected]”,”replyto-email”:”[email protected]”,”email-subject”:”Web Designer Luton \”[your-subject]\””,”email-editor”:”<p>this is an email from your call back request someone has filled in your contact us form in your contact us page.<br \/><br \/><br \/>here is their details if you want to contact them thanks<br \/><br \/><br \/>Name: {text-1}<br \/>Number: {phone-1}<br \/>Plan they pick: {select-1}<\/p>\n<p>Url: {url-1}<\/p>\n<p>Date: {date-1}<\/p>\n<p>Time: {time-1}<br \/>extra information: {textarea-1}<\/p>”}]},”status”:”publish”,”version”:”1.13.5″}

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @noorjan77

    I hope you’re well today!

    I have visited page in question and I’m not quite sure what is the issue. When I’m filling-in the form, I seem to be able to select both date and time. Should I take some specific steps there/fill-in the form in some specific way?

    Or it does “look fine” on front-end but you’re not getting correct data (blank data instead) in either your e-mail notification or on submissions page?

    Let me know, please.

    I also wanted to test your form on my setup but it seems the data got corrupted when posting here (most likely some characters where stripped off or converted) so could you please share export file again?

    Preferably make sure that it’s marked as code using “code” option in post editor or, better yet, either share it via pastebin.com service or as a file through your Dropbox, Google Drive or similar account (then just post a link to it).

    Best regards,
    Adam

    Thread Starter noorjan77

    (@noorjan77)

    Hi thanks for the very quick reply.

    Yes my problem is in the backend which you have mentioned >>>> Or it does “look fine” on front-end but you’re not getting correct data (blank data instead) in either your e-mail notification or on submissions page?<<<<

    I have also put the field in the front end so once you fill up the form you can see on screen notification which confirms the date and time. For for time it’s blank and that’s what I received on my email notification too a blank for timepicker.

    You have asked for the for exhorted file but you really don’t need that. Because I have tried timepicker field in 5 different website it’s the same on all of them. So I would say just try the timepicker field in your own form and you will see that you won’t get any data.

    So to make it more clear the timepicker is not working test it in your own way you will see that it has a problem.

    I really need this to work if you manage to fix this issue please let me know thanks

    Hi @noorjan77,

    I’ve tested a form with date and time picker on my end but I’m afraid that I was unable to replicate the issue as all the data was submitted properly.
    Since there are a lot of settings in the plugin it’s possible that I’m missing something that your setup has so could you provide us with the export of the form as mentioned above so we can give it a check from our end?

    Also, what happens if you create a form with just date and time picker, does that work in your case?

    Cheers,
    Predrag

    Thread Starter noorjan77

    (@noorjan77)

    Hi thanks for getting back.

    I have checked and made new forms the only way timepicker was working if I didn’t touch its sitting.

    But when I change for example it’s display to slide down or to change from 12 hours to 24 hours or to use time limiters etc then it never work.

    Here is the link for the form I have uploaded the form in to google drive as you said i hope you can find the problem thanks.

    https://drive.google.com/file/d/11JAzeJhELGWl0UuGs5IRuM4O9f5sP32I/view?usp=drivesdk

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @noorjan77 ,

    Thank you for the form. I’ve checked it and you are using {time-1} macro in the email notification and in the success message. There is no {time-1} macro available, hence it will not show anything. You would need to use what is available from the macro list, in case of the time picker it is:
    {time-1-hours}{time-1-minutes}

    I’m not sure where the {time-1} came in your form – do you recall what option you used that it showed there?

    kind regards,
    Kasia

    Thread Starter noorjan77

    (@noorjan77)

    Hi thanks for getting back and I am sorry for bothering you so many times.

    But i did not understand any of these thing you have said. They do tactical.

    All i did i use timepicker and i used the timepicker sitting to set up the times limitation etc.

    But since you have my form can you fix it and send me back so I can use it?

    Also in the future updates I want to give you small feed back.

    If you could make timepicker to look like other forms it’s like calendar but with times displaying if you know what i mean.

    If there is no solution then it’s OK not big deal I just wanted to report this issue in case there is some errors on the code.
    Many thanks

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @noorjan77

    I’ve made changed that @wpmudev-support2 mentioned earlier. Here’s an update form:

    https://www.dropbox.com/s/krf7dke8g0h4lrp/forminator-call-back-request-form-export.txt?dl=0

    Once you import it, please look into

    – e-mail notifications’ content
    – success message on “Behavior” tab of form builder

    and you should see them there.

    Best regards,
    Adam

    Thread Starter noorjan77

    (@noorjan77)

    Hi thanks for getting back yes it works now. How did you do it?

    What I do wrong that it doesn’t work automatically?

    One last question. Is there a way to charge the field name for example. For name the field name is {name-1} How can i Rename this?

    Many thanks for that form fixing

    Plugin Support Saurabh – WPMU DEV Support

    (@wpmudev-support7)

    Hello @noorjan77,

    As stated by my colleague Kasia in earlier replies, the macros setup or being used at email notification and in the success message were wrong. We replaced that with the correct ones.

    You can learn more about the macros here:
    https://premium.wpmudev.org/docs/wpmu-dev-plugins/forminator/#email-notifications-forms.

    The reason it did not work before as the data was not received in the email notifications and the success message area as the macro being used was wrong.

    Now about the other question :

    “Is there a way to charge the field name for example. For name the field name is {name-1} How can I Rename this?”

    You can rename the labels to all the fields but I’m afraid there is no way to edit the macros as of now.

    Should you have any doubts or need any help, please reply in the thread here or open a new thread and we would be happy to help.

    Thank you,
    Prathamesh Palve

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘timepicker field not working’ is closed to new replies.