How to replace form value before preview and save?
-
Lets say I want to make:
-) title automatically become uppercase for each word. (in php we use ucwords() )
-) if phone is not empty, convert it to international format (I already have the function to convert number to international format)How to do it, so during preview and saved, this value changed the way i wanted?
Maybe using ‘adverts_form_bind’? But I dont know why this filter is called multiple times during single page load. this filter also run on advert add form.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to replace form value before preview and save?’ is closed to new replies.