GDG-Ukraine / gdg.org.ua

GDG Ukraine website, event registration forms.
http://gdg.org.ua/
MIT License
6 stars 24 forks source link

Add possibility to customize hints of built-in form fields #22

Open cleac opened 9 years ago

cleac commented 9 years ago

I need to change the built-in hint, but I can't. Plus, it would be great if you add possibility to make such hints for custom fields too

I'm talking about this kind of hint =) snapshot6

webknjaz commented 9 years ago

It's a placeholder= attribute in terms of HTML5. You may patch templates/register.html if you need this ASAP. The admin UI is in a sister-repository https://github.com/GDG-Ukraine/gdgregform

webknjaz commented 9 years ago

@cleac should the customization be global for all forms or event-specific?

cleac commented 9 years ago

I think global. I should be better to change fields when needed than change them every event

webknjaz commented 9 years ago

Waiting for @bluebirrd's comments on this.

anxolerd commented 8 years ago

ping @bluebirrd

anxolerd commented 8 years ago

ping @bluebirrd

bluebirrrrd commented 8 years ago

I'd make it event-specific and add some default value.

If event creator doesn't want to change the placeholder, let him do so. But if someone wants to put some custom stuff for a specific event (for example, IWD Fest or brand new geeky event with technologies no one knows about yet), I guess the placeholder should be changed only for this particular event, since those hints may not be suitable for other regforms.