Results 1 to 1 of 1

Thread: Core custom form fields

  1. #1
    Thread Starter
    jconti's Avatar
    Join Date
    Jan 2011
    Location
    Spain
    Posts
    25
    Thanks
    0
    Thanked 1 Time in 1 Post

    Core custom form fields

    Hi, I'm developing a plugin that adds some custom fields to the core form (the one that appears when a user tries to post an Ad).

    I need some advice about some questions:

    1. Is there a way to dynamically add custom fields? I need to show those fields depending on the user package. There's no filter on cp_get_custom_form_fields() and that would be handy (it's a simple change, actually). Instead of using the filter I'm currently adding the fields in the DB when the plugin is activated and hiding them using JS but I don't really like this approach.

    2. I cannot find the moment where the form is processed so I can collect those fields and save the properly as post meta. Could you point me where's the code that process the form? Does it have any action so I can process my fields?

    Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to make core fields removeable from form layout?
    By quibby in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 15th, 2015, 06:11 PM
  2. multiple drop-down search form using custom fields and custom taxonomies [part 2]
    By davidhaz in forum ClassiPress General Discussion
    Replies: 12
    Last Post: November 4th, 2014, 07:40 AM
  3. duplication of core custom fields
    By franky in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 25th, 2013, 03:32 PM
  4. Custom Fields Not Showing on Available Fields in Form Layout?
    By mintiesme in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: November 9th, 2012, 04:55 AM
  5. all core fields are required when using custom form
    By forumuser in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: April 14th, 2010, 05:05 PM