This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Remove AM/PM from Time field
Started 14 years ago by trekmadone2008 | 4 posts |
-
Hello, is it possible to remove the AM/PM mention from a Time field ?
Posted 14 years ago # -
Edit your "includes/view-functions.php" file, search around line 810 - 816:
<span> <select class="element select" style="width:4em" id="element_{$element->id}_4" name="element_{$element->id}_4"> <option value="AM" {$selected_am}>AM</option> <option value="PM" {$selected_pm}>PM</option> </select> <label>AM/PM</label> </span>
simply remove the above code.
MachForm Founder
Posted 14 years ago # -
Hello,
I removed the code but the AM/PM mention still appears when I create a new field ? Is ther something else I should do ?
Posted 14 years ago # -
It will be displayed when you edit the form. However, when you display the actual form/the resulting form, it won't be displayed.
MachForm Founder
Posted 14 years ago #
Reply
You must log in to post.