• Resolved rikj

    (@rikj)


    When i try to add a field-value to the post-title it doesn’t work.
    I called the label ‘Titel’ and put “Gezocht: [item Titel]” in the post title field (tab: advanced -> publish submitted data)

    When i use [admin email] instead of [item Titel] it does work so i am not sure what i am doing wrong here.

    The plugin is really good so i hope you can help me out with this one!

    thanx!

    http://wordpress.org/extend/plugins/wordpress-form-manager/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter rikj

    (@rikj)

    And is there a way to store all the data in a Custom Field? That would be much easyer to acces the data in my case.

    Plugin Author hoffcamp

    (@hoffcamp)

    To your first question, you have to give the item a ‘nickname’ under the ‘Form Extra’ tab.

    You can’t store the data as a custom field directly. You could hook into the submission action and update the relevant post yourself using PHP.

    Thread Starter rikj

    (@rikj)

    Thanx! The first ‘problem’ is solved.
    Can’t find any function called “fm_form_submission”. Where sould i be able to find it?

    Thread Starter rikj

    (@rikj)

    Okay, found it. But..

    Where can i find the post id to use in the function?

    Plugin Author hoffcamp

    (@hoffcamp)

    Not sure. Try $_REQUEST['p'].

    Thread Starter rikj

    (@rikj)

    It doesn’t return any value.

    Thread Starter rikj

    (@rikj)

    Is there a way to prepare the post-meta-functions and run them after the post is made?

    Thread Starter rikj

    (@rikj)

    Well, found this: ‘fm_helper_publishPost’ in helper.php on line 423.

    When i modify this one to add the custom fields and use the $postID. Is it going to work?

    Thread Starter rikj

    (@rikj)

    Added a custom function there and it works!

    Thanx for the great plugin!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: WordPress Form Manager] Problem using a field [item] in a post title’ is closed to new replies.