Re: Hardcover Extension / Tutorial: Nice form field hints
Hello all,
I know this thread has been closed for a while but wonder if it's still monitored as I have a question regarding dynamic content. The script is very helpful and I have successfully implemented it on ‘static’ options that show in the registration page under "Login Details", such as username, password and email. Those items are coded right into the template.
My question addresses dynamic fields. What I mean with 'dynamic' is that in the control panel you can choose which additional questions may appear in the registration page. For example under "General" header you have city, country, age etc. However, those items are retrieved based on whether they were set to appear via the control panel ("Load in registration = yes").
I want to add an informative text, stating that the exact date will not appear on the profile or be made public, that it’s just to calculate the age. This will ease some worries members may have.
Is there a way to add code (and if so are there any suggestions?) that says that if 'age' is displayed on that page, add the {hint:langarray="register",key="whatever_in_this_case_age"} ?
Hope this question makes some sense. Please don’t use the terms static and dynamic in traditional sense. I am just trying to express that some fields are hard coded into the template while others are shown based on permissions.
Thanks to all, particularly to radioact for sharing this very helpful extension.
Richard
For more hints, tricks and solutions visit vldCrowd