This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
Set Default Time Field
Started 11 years ago by csamuel69 | 3 posts |
-
I like the feature to set the date to a "default" date to help users filling out a form. Is it possible to set a default time and/or even default it to PM? Currently the time field defaults to blank time and AM. Would like to at least set it to default PM. Is this possible?
Thanks!Posted 11 years ago # -
This should work to give you a "default" time and switch AM to PM. I'm sure you could change default_values, but this seemed to work. Make sure you test.
\includes\view-functions.phpLine 2272
Remove{$selected_am}Line 2273
Replace{$selected_pm}withselectedLine 2293
Replace{$default_value_1}with whatever hour you want such as08Line 2297
Replace{$default_value_2}with whatever minute you want such as30Posted 11 years ago # -
Perfect thanks I will check it out and test. I appreciate the help!
Posted 11 years ago #
Reply
You must log in to post.
