• Resolved angarf

    (@angarf)


    `Hello, I was wondering if you have ever thought about allowing fields that are hidden to be selected in the evaluable fields of a condition; which CF7 uses in the div with display=none at the beginning of the form (just below the html FROM tag) as well as wpc7cf to store info. It would be very useful for custom development that makes use of this functionality. Now i’m get stucked in this cause wpcf7cf does not have any action or filter available and i dont want to make non upgrade safe changes to the plugin. The truth is that it can be done by putting those extra fields in the form definition, but the fact of adding certain functionality in this way makes the coupling and interdependence much greater. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    I’m not 100% sure what you mean, but this sounds like it might be not very intuitive for the average user.

    You might find the ability to create conditions based on custom functions useful. However, this feature is only available in conditional fields pro. https://conditional-fields-cf7.bdwm.be/advanced-conditional-logic-with-custom-javascript-functions/

    With this feature you can query any DOM element (including the hidden fields you mention) and return true or false to show or hide a group.

    Thread Starter angarf

    (@angarf)

    Thank you very much for the quick response. And, yes, I have reread the post and I don’t explain myself very well. Basically I want to use instrumental (internal) form fields that cf7 and wpcf7cf use, as fields in the wpcf7cf conditions. It is for a small custom made kind of shopping cart. In fact you are right and it is a functionality that will not be very useful for the average user: many times I forget that plugins are mainly for non-programmers. In any case, thanks, we are PRO users but i missed that functionality of wpcf7cf, my apologies for not RTFM. It’s just what we needed, I just pass the logic from the back-end to the front-end, with that I can get decoupling. Thank you so so so much. Keep up the wonderful work you are doing. Impatiently waiting for all that new functionality you talk about to make the plugin more great.

    • This reply was modified 2 years, 10 months ago by angarf.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hidden fields selectable in evaluable expressio’ is closed to new replies.