• Resolved max1dkm

    (@max1dkm)


    Hi Jules.

    Is there a way to upload conditional fields in bulk? I tried looking in the database to paste a list but couldn’t find the fields there.

    Kind regards,

    Max

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

    (@jules-colle)

    Hi Max,

    The conditional fields are saved as post_meta to the form post. The key is wpcf7cf_options. Theoretically you could inject conditions in the database, but you will need to take care of serialization yourself.

    A more convenient way to bulk upload conditions is to go to the Conditional Fields tab, switch to the Text view and add your conditions like this:

    show [group] if [field] equals "value"
    show [group2] if [field2] equals "value"
              and if [field3] equals "value"
    ...
    

    Note: once you have more than 50 conditions you can only access the text view and won’t be able to add conditions trough the normal interface anymore. This is a performance decision I had to make.

    Good luck!

    Thread Starter max1dkm

    (@max1dkm)

    Text view worked like a charm. Thanks a lot Jules!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bulk conditions’ is closed to new replies.