• Hi,
    What I want to do is when I created new form, Form Manager creates completion template pages like form-complete.php that contains my custom code. When user submits the form, Form Manager runs form-complete.php and popup this page on the form page.

    I would like to add one option that creating completion message pages.
    I add one text field for complete message file (form-1-completed.php) on customize section (editformdesign.php) and edited (db.php) I added the field on (scripts.js).
    However, it doesn’t save the text field data on database.
    Do I need to see other place too? or I missing something?
    Please check code below that I modified.
    line 359 from editformdesign.php

    [Code moderated as per the Forum Rules. Please use the pastebin]

    That’s all I changed.
    Please help me.
    Thank you.

    http://ww.wp.xz.cn/extend/plugins/wordpress-form-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author hoffcamp

    (@hoffcamp)

    Making custom form options might be a bit complex, but if you are good with PHP it should be simple:

    1. Create a new file in the ‘types’ folder for a new class. Inherit from fm_controlBase, and check out ‘types/base.php’ to see how the class works, and look at some of the other item types in that folder to see how everything works. Unfortunately this is all undocumented.

    2. Add a line to ‘types.php’ in the $fm_controlTypes array for the new class, and make sure to include the file you made in (1).

    As for doing stuff when the form submits you should make a custom summary template, and use that instead of the default acknowledgment.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress Form Manager] How to customize more form option?’ is closed to new replies.