Jan 11 2009

Customizing a rich input_date_tag with different button text

Category: Form ElementsJeff @ 5:34 am
      

To change the default text of the input_date_tag away from “…” simply use the additional option calendar_button_txt.  The following shows a “rich” calendar with the button labeled Change Me:

<?php echo input_date_tag(‘input_name’, ‘now’, array(‘rich’ => true, ‘calendar_button_txt’ => ‘Change Me’)); ?>

One Response to “Customizing a rich input_date_tag with different button text”

  1. mahesh says:

    Thanks for your customized script. Their is one question for how can set calender image instead of button

Leave a Reply