Skip to:

Opened 10 years ago

Closed 10 years ago

#5689 closed enhancement (worksforme)

edit_field_html doesn't have a filter

Reported by: sgr33n's profile SGr33n Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords:



Is it possible to have a filter for edit_field_html in order to manipulate the view of input fields?

In my specific case I'd like to add a placeholder, but it's impossible, unless I use Javascript.

Change History (4)

#1 @DJPaul
10 years ago

  • Component changed from Core to XProfile
  • Milestone changed from Awaiting Review to 2.1

We can look into it, sure. When I built this, I intended the filter in the get_edit_field_html_elements method to be used to let people add placeholder fields, etc. Did you look to see if this was suitable for what you needed to do with it?

#2 @DJPaul
10 years ago

  • Keywords reporter-feedback added

#3 @SGr33n
10 years ago

Looks like get_edit_field_html_elements allows to add a placeholder, I'll try it.

Thanks DjPaul :)

#4 @DJPaul
10 years ago

  • Keywords reporter-feedback removed
  • Milestone 2.1 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Great; closing ticket. :)

Note: See TracTickets for help on using tickets.