This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Enable Date Picker to show calendar inline
Started 11 years ago by rocketmedia | 5 posts |
- 
		
		
	
		
		
		I am trying to get the date picker to show the calendar above the field, instead of having to click the little calendar option to see the available dates. I would be ok if we even had to place a div above the form that just had the calendars appended to it. Any help would be greatly appreciated. Posted 11 years ago #
- 
		
		
		
		
		It is possible to do this. Assuming you are using v4.1, you can edit your "includes/view-functions.php" file, search around line 1219 for this code: $('#element_{$element->id}_datepick').datepick({change it to become: 
 $('#element_{$element->id}_datepick_span').datepick({Then search around line 1264 for this code: <input type="hidden" value="" name="element_{$element->id}_datepick" id="element_{$element->id}_datepick">below that line, add this code: <span id="element_{$element->id}_datepick_span" class="inlinePicker"></span>That should display the calendar inline, without the need to click the calendar icon. MachForm Founder Posted 11 years ago #
- 
		
		
	
		
		
		If I make this change, I will need to do it again after future updates, correct? Posted 10 years ago #
- 
		
		
		
		
		Yes, I'm afraid you'll need to do it again. MachForm Founder Posted 10 years ago #
- 
		
		
	
		
		
		Thank you! Posted 10 years ago #
Reply
You must log in to post.

