CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Date picker in Joomla
Pages: [1]

Author Topic: Date picker in Joomla  (Read 2527 times)

m@e247

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
Date picker in Joomla
January 19, 2011, 05:24:43 am
The documentation is very clear that using an HTML snippet in Joomla will break the date picker because the Joomla HTML kills the civiCRM <style> tags. I can live without the date picker -- a simple date input box would do -- but the code results in a two text boxes appearing, though only the right one ("birth_date_hidden") accepts input. How can I edit the code so that I am left with a simple date input box for birth date?

After putting into Article Manager, here is the relevant code for the Birth Date field:

<div class="label"><label for="birth_date"> Birth Date      <span class="crm-marker" title="This field is required.">*</span> </label></div>
                <div class="edit-value content">&nbsp;<input formattype="birth" startoffset="100" endoffset="0" format="mm/dd/yy" readonly="readonly" name="birth_date" id="birth_date" class="dateplugin" type="text" /><input name="birth_date_hidden" id="birth_date_hidden" class="hiddenElement" type="text" />&nbsp;&nbsp;&nbsp;&nbsp;<span class="crm-clear-link">(<a href="javascript:clearDateTime( 'birth_date' );">clear</a>)</span></div>
                <div class="clear"></div>
            </div>

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Date picker in Joomla

This forum was archived on 2017-11-26.