Hi!
I have created the following form:
The problem is: how can I show in the email the right date without the time.
The email template is now:
I just want to see for example 23-06-2011 and not 2011-06-23 21:27:03
Can someone help me. Thanx
I have created the following form:
<div class="clear"></div><div id="error-message-input_select_12"></div></div><div class="ccms_form_element cfdiv_datetime" id="datum_van_datum_von_container_div"><label>Datum van / Datum von</label><input maxlength="150" size="16" class="cf_date_picker" type="text" value="" name="input_datetime_2" />
<div class="clear"></div><div id="error-message-input_datetime_2"></div></div><div class="ccms_form_element cfdiv_datetime" id="datum_tot_datum_bis_container_div"><label>Datum tot / Datum bis</label><input maxlength="150" size="16" class="cf_date_picker" type="text" value="" name="input_datetime_3" />
<div class="clear"></div><div id="error-message-input_datetime_3"></div></div><div class="ccms_form_element cfdiv_submit" id="input_submit_1_container_div"><input name="input_submit_1" class="" value="Verstuur aanvraag / Anfrage senden" type="submit" />
<div class="clear"></div><div id="error-message-input_submit_1"></div></div>
The problem is: how can I show in the email the right date without the time.
The email template is now:
<p>Datum van =<span style="white-space: pre;"> </span>{input_datetime_2}</p>
<p>Datum tot = <span style="white-space: pre;"> </span>{input_datetime_2}</p>
I just want to see for example 23-06-2011 and not 2011-06-23 21:27:03
Can someone help me. Thanx
Hi srecko_marielle,
Please upgrade to CFv4 RC1.9 if you haven't already done so as it has some bug-fixes for the date-picker.
In the Actiosn tab go to the Utilities Group and drag a Custom DatePicker action to the On Load event. You need to match the class of your date-pickers to the class in this action, then you can configure the display and inputOutput formats.
Bob
Please upgrade to CFv4 RC1.9 if you haven't already done so as it has some bug-fixes for the date-picker.
In the Actiosn tab go to the Utilities Group and drag a Custom DatePicker action to the On Load event. You need to match the class of your date-pickers to the class in this action, then you can configure the display and inputOutput formats.
Bob
This topic is locked and no more replies can be posted.