• Resolved KySo

    (@kyso)


    Hi,
    in one of your posts you wrote:
    ‘…there are other plugins ,that users have reported using, that handle form input so installing one of these plugins and then putting that plugins shortcode inside a workflow stage may achieve what you are trying to do. There are many such plugins and some may not work in combination with this one so its a matter of trial and error to see if you can get them to work…’.
    I am very new to your plugin (and I still do not have your PRO version) but e.g. the shortcode for Contact Form 7 is:
    [contact-form-7 id=”16″ title=”form fields”]
    To use the shortcode above in a stage I have to use this:
    [wtf_eval][contact-form-7 id=”16″ title=”form fields”][/wtf_eval]
    or it has to be php code?
    [wtf_eval]<?php echo do_shortcode( ‘[contact-form-7 id=”1234″ title=”Contact form 1″]’ ); ?>[/wtf_eval]
    Is that what you wanted to explain?
    Thanks

    https://www.ads-software.com/plugins/work-the-flow-file-upload/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author lynton_reed

    (@lynton_reed)

    In the pro version you can use the wtf_eval blocks to evaluate php code.

    When processing a workflow stage the plugin attempts to evaluate any 3rd party shortcuts embedded in the stage, depending on how the 3rd party shortcomings is implemented this may or may not work. So just embedding the short code may be all that is required. If it doesn’t work then if the forms plugin provides php methods to directly invoke it’s shortcodes then you may be able to get it to work calling it inside an eval block. E.g. Something like
    ‘[wtf_eval]php_contactformmethod(16)[/wtf_eval]’.

    You may have to try a few to find one that will work. If you do please report it back here.

    Thread Starter KySo

    (@kyso)

    Hi
    short report:
    I tried it with the simple short code of Contact Form 7 (no PRO version installed) and it worked perfect, except: The from confirmed the sending …but it never reached the recipient.
    Do you think [wtf_eval] can help me with the sending?

    Plugin Author lynton_reed

    (@lynton_reed)

    Just guessing, but that’s probably more to do with your nail system than either plugin.

    Check if other email functionality is OK, and that contact form 7 works outside of wtf-fu then try raising a support request at contact form 7. Make sure you mention that it only fails inside of wtf-fu. They may or may not provide assistance but it’s worth a try. You could also ask if there is php function that could be used instead of the shortcode and then try that in an php eval block.

    If no good try another plugin and see how you go.

    I am interested to know what happens so please report back.

    Lynton.

    Thread Starter KySo

    (@kyso)

    With the simple short code of Contact Form 7 it works, also sending emails (that it didn’t send the email before I think it was my mistake).
    Problem: When I ‘Go Back’ in a stage and then ‘Forward’ then the plugin sees the short code only as a text.
    When I install the plugin new I get ‘headers already sent’ messages/warnings. Also with an older version: 4.1.2. But when I upgraded 4.1.2 to 4.3 the message/warning didn’t show up anymore.
    Hope that helps and it’s not only confusing.

    Plugin Author lynton_reed

    (@lynton_reed)

    A php function call may work better ( if there is one ).

    When moving between stages it is done via ajax requests which may effect the forms plugin.

    You may be out of luck here. But I am starting to consider making a simple forms extension for wtf_fu. That won’t be for a while though.

    Perhaps try another combination of plugins

    I will look into the other warnings soon.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Form input’ is closed to new replies.