Search the Community
Showing results for tags 'Microsecond'.
-
<link type='text/css' href='/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.css?v=103' rel='stylesheet' /> <link type='text/css' href='/wire/modules/Inputfield/InputfieldCheckboxes/InputfieldCheckboxes.css?v=100' rel='stylesheet' /> <link type='text/css' href='/wire/templates-admin/styles/inputfields.css' rel='stylesheet' /> <link type='text/css' href='/wire/templates-admin/styles/JqueryUI/JqueryUI.css' rel='stylesheet' /> <link type='text/css' href='/wire/modules/Jquery/JqueryWireTabs/JqueryWireTabs.css?v=103' rel='stylesheet' /> <script type='text/javascript' src='/wire/modules/Jquery/JqueryCore/JqueryCore.js?v=162'></script> <script type='text/javascript' src='/wire/modules/Jquery/JqueryUI/JqueryUI.js?v=180'></script> <script type='text/javascript' src='/wire/modules/Inputfield/InputfieldDatetime/InputfieldDatetime.js?v=103'></script> <script type='text/javascript' src='/wire/modules/Inputfield/InputfieldDatetime/timepicker/jquery-ui-timepicker-addon.js'></script> <?php // create a selctor for Date and time $field = $modules->get("InputfieldDatetime"); $field->label = "Preferred appointment day"; $field->attr("id+name","preferredday"); $field->required = 1; $field->datepicker = 1; // picker on Click $field->dateInputFormat = 'd/m/Y'; $field->timeInputFormat = 'g:ia'; $form->append($field); ?> sorry in advance as I'm on into my second week of learning PHP and PW if my coding is bad to say the least The issue I'm have is that with the above code I'm getting "Millisecond", "Microsecond","Time Zone" and "Now" Button and would like to not show these option. also as a stretch and pushing the limits of asking for help changing the time to be a select box from 7:00AM to 4:00PM broken into half hour blocks I've attached the whole file if it helps. Finally I have to say it may be only a week or 2 but the support and information I have been able to find in these forums has made the process this far an easy ride Tenant Form.php
- 1 reply
-
- InputfieldDatetime
- Timezone
-
(and 2 more)
Tagged with: