Date & Time Formats

Issues related to forms.
Post Reply
lpug
 
 
Posts: 111
Joined: Thu Apr 05, 2018 10:15 am

Date & Time Formats

Post by lpug »

Hello,

Is there a way to change the returned format for dates and time? i.e. 24hr time to 12hr and date format dd/mm/yyyy

Thanks
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

To which part of the software is this related to?
lpug
 
 
Posts: 111
Joined: Thu Apr 05, 2018 10:15 am

Re: Date & Time Formats

Post by lpug »

Forms - Editbox, datetime-local, response from the server, i would like date format to be dd/mm/yyyy instead of yyyy/mm/dd and 12hr time rather than 24hr format.(Could this be my host issue the way it parses the data?)

Thanks
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

The editbox date input is a standard HTML/browser feature. The format is determined by the browser based on the user preference or local settings. You cannot change this via HTML.

https://developer.mozilla.org/en-US/doc ... time-local
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Datetime picker

Post by Emmy smith »

I'm trying to do something like this http://sktthemesdemo.net/pet-care/#contactform_main Under " Make An Appointment "

when you click on calender icon. there's a pop up data picker shows to select the date. and then it disappears once the date is entered and the data is send ,

Is there a way to implement something like that in wysiwyg web builder can someone guide me , how to achieve this. thank u. am new here
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

There is a "Date Picker" object in the toolbox in the section "JQuery UI / Bootstrap"
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

hi dear thank , u for your reply. yes . i saw the time picker j query dialog u mention . but how can i inter grate it to form and it will work just as u click on it , it will popup and disappear after input and message is sent thank u i lookforward hearing from u soon
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

Just drag & drop the "date picker" to the form and it will work when you preview or publish the page.
If you want a dropdown menu then set the mode to 'Overlay'.
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

ok let me just do it and get back to u. i just love how u always reply immediately thanks
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

wow really it worked , great works , thanks for your help and support. u are great , but how can i have text inside the edit box to show that this is an appointment Date behind . Thank u
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

- right click the object
- select 'Object HTML'
- select 'Inside tag'
- copy/paste

Code: Select all

placeholder="Appointment Date"
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

oh my goodness, u have made my day. is working like anything someone can imagine. u are my man. u really have a great knowledge in Software development am glad for sharing your wisdom. Thank so much. i still have a questions to ask. one is how can i integrate pay-pal payment gateway in WYSIWYG Web builder , where students can pay their school fees or anything online using their credit card ,debit, MasterCard etc. Thank u dear
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

Standard PayPal buttons are available in the toolbox.
http://wysiwygwebbuilder.com/paypal_buynow.html
http://wysiwygwebbuilder.com/paypal_buynow.html

if you need more advanced integration then this will require scripting.

See also this related FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=57726
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

Mr Pablo once again thank u for your support. guess what Success doesn’t just find you. You have to go out and get it, in another words for me you have already found success. i will be in touch with u again. stay blessed
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

Mr Pablo, really am new to this, i saw the sites, u sent to me. well documented, but i have a questions, i have sign up account with pay-pal, and they have as me to Set up standard payments ie
Set up standard payment options on your checkout page so your buyers can pay with debit and credit cards, PayPal, PayPal Credit, Venom, and alternative payment methods. i really not know what step to take here. just as i read that i can easily add pay pal button to my website and the rest,

pls can u help me out how to get this startup. and also, does it mean once i have signup account. i can use the email address In the General page and enter IE PayPal account Thanks, https://developer.paypal.com/docs/busin ... e-you-code
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

I'm sorry, I cannot help you setup your PayPal account. It has been a long time since I did this myself so I am not familiar with all the new options.
Emmy smith
 
 
Posts: 8
Joined: Sat May 09, 2020 10:41 am

Re: Date & Time Formats

Post by Emmy smith »

ok dear. thank u
windsurfer
 
 
Posts: 181
Joined: Mon May 13, 2019 9:15 pm

Re: Date & Time Formats

Post by windsurfer »

I have the date picker on my form to enter the DOB but the range is from 2011 to 2031 I don't need a date later than today obviously but i do need to be able to go back to at least 1940.
Is that possible ?
I used to have a photographic memory but i ran out of film !!!
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Date & Time Formats

Post by Pablo »

There is no standard option for this, but you can use the custom options to add a range:
https://api.jqueryui.com/datepicker/#option-yearRange
windsurfer
 
 
Posts: 181
Joined: Mon May 13, 2019 9:15 pm

Re: Date & Time Formats

Post by windsurfer »

Would be nice to be able to set that in the properties of the date picker.

Image
Image
I used to have a photographic memory but i ran out of film !!!
windsurfer
 
 
Posts: 181
Joined: Mon May 13, 2019 9:15 pm

Re: Date & Time Formats

Post by windsurfer »

Of course if i update wysiwyg i have to remember that LOL
I used to have a photographic memory but i ran out of film !!!
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Date & Time Formats

Post by BaconFries »

Similar question at the following see my reply
https://www.wysiwygwebbuilder.com/forum ... 3&p=409344
windsurfer
 
 
Posts: 181
Joined: Mon May 13, 2019 9:15 pm

Re: Date & Time Formats

Post by windsurfer »

That works for me, thank you.
I used to have a photographic memory but i ran out of film !!!
Post Reply