Check to make sure your loading the javascript support for that macro for anonymous viewers.<br><br><div class="gmail_quote">2009/9/14 Nguyễn Thái Sơn <span dir="ltr">&lt;<a href="mailto:leoofcoltech@gmail.com">leoofcoltech@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>I have used a date picker box in my register form. My problem is: just admin can use the date picker box, when anonymous register he can not use this option. This is my code:<br>

<br>----------------------------<br>
<pre>&lt;div class=&quot;row&quot;<br>           tal:define=&quot;error errors/birthdate| nothing;<br>                       birthdate request/birthdate | nothing;<br>                       inputname string:birthdate;<br>


                           formname string:join_form;<br>                           inputvalue birthdate;<br>                           starting_year python:1940;<br>                           show_hm python:0;<br>                           show_ymd python:1;&quot;<br>


           tal:attributes=&quot;class python:test(error, &#39;field error&#39;, &#39;join_form_field&#39;)&quot;&gt;<br><br>        &lt;h3 for=&quot;birthdate&quot;<br>            i18n:translate=&quot;label_birthdate&quot;&gt;Birth date&lt;/h3&gt;<br>


<br>        &lt;span class=&quot;fieldRequired&quot; title=&quot;Required&quot;<br>              i18n:attributes=&quot;title title_required;&quot;<br>              i18n:translate=&quot;label_required&quot;&gt;(Required)&lt;/span&gt;<br>


<br>        &lt;div class=&quot;formHelp&quot; i18n:translate=&quot;help_birthdate&quot;&gt;<br>          Enter your birth date<br>        &lt;/div&gt;<br><br>        &lt;div tal:content=&quot;error&quot;&gt;Validation error output&lt;/div&gt;<br>


        &lt;div metal:use-macro=&quot;here/calendar_macros/macros/calendarDatePickerBox&quot;&gt;<br>             calendar pop-up<br>        &lt;/div&gt;<br><br>      &lt;/div&gt;<br></pre>---------------------------<br>

Many thanks for any help!<br>
<br>_______________________________________________<br>
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org">Product-Developers@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/product-developers" target="_blank">http://lists.plone.org/mailman/listinfo/product-developers</a><br>
<br></blockquote></div><br>