Altering form elements for custom fields
Custom field templates let you change the rendering style of for custom fields and only! And it would be cool to be also able to change the style of form elements for of custom field values!
Let me show an example:
Saying we have a “Rating” custom field, which should get values from 1 to 5. For such custom field we will probably choose the “Text” type and regular expression
Right now we can use five stars to render values of such custom fields! For this we just define the
But we would also want to use these five stars to let users choose the rating! This would be much better than a text field, which requires digits from 1 to 5!..
#2 Updated by Andriy Lesyuk almost 7 years ago
- Status changed from Open to In Progress
- Start date changed from 16 Sep 2013 to 21 Sep 2013
- % Done changed from 0 to 50
hide_original_custom_edit(field_id), which will make the original for element invisible.