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"><<a href="mailto:leoofcoltech@gmail.com">leoofcoltech@gmail.com</a>></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><div class="row"<br> tal:define="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;"<br>
tal:attributes="class python:test(error, 'field error', 'join_form_field')"><br><br> <h3 for="birthdate"<br> i18n:translate="label_birthdate">Birth date</h3><br>
<br> <span class="fieldRequired" title="Required"<br> i18n:attributes="title title_required;"<br> i18n:translate="label_required">(Required)</span><br>
<br> <div class="formHelp" i18n:translate="help_birthdate"><br> Enter your birth date<br> </div><br><br> <div tal:content="error">Validation error output</div><br>
<div metal:use-macro="here/calendar_macros/macros/calendarDatePickerBox"><br> calendar pop-up<br> </div><br><br> </div><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>