You are viewing limited content. For full access, please sign in.

Question

Question

Auto set AM/PM time depending on time of day

asked on December 3, 2017

Hi all,

Is it possible to have the time field in LF Forms auto set to either AM or PM depending on the current time of day instead of the customer always changing the time from AM to PM in the afternoons, please see below

Regards

Shane

 

0 0

Replies

replied on December 4, 2017

I believe all you can do is set the default value to current_datetime which will auto-populate the time of the Form launch. Beyond that, likely need to use JS to try and control this.

0 0
replied on December 7, 2017

Thanks Steve,

Unfortunately the field they are wanting to auto set to am/pm is a due date field which they manually decide what this will be. May have to go down the path of JS

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.