Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor David Cramer

    (@desertsnowman)

    Thanks for pointing it out. I’ll go take a look and update it.

    Thread Starter softwarestudent

    (@softwarestudent)

    Sorry to bug you a second time, but this is related!

    I’m working with the Pods-CF plugin while making a conditional form, and I’m running into a couple things that are big hurdles. As a quick description, I’m working on a couple CF forms to map to the User pod, both to create new users and to update existing ones. The users are divided into three very similar types depending on their department, but some user types don’t need certain fields (ergo conditional form). Things I encountered:

    1. Conditionals don’t work with auto-populated pod fields. I understand how this could be rough, since if the pod changes, the form might break, but it seems like conditionals are removed already if CF field types change.
    2. “Simple defined lists” in pods are only recognized for mapping by Pods-CF if the CF field is a dropdown. Could they be toggle switches too? Adding new users by department is way easier for the non-tech-savvy dept heads when they can see the buttons clearly.
    3. It might be helpful to add something in Pods-CF that allows you to update an existing pod instead of always adding a new one. I added a hack to the Pods-CF functions.php to use pods->save() instead of pods->add() if a given field_id is present on the form, but I’m sure there’s a less dirty way of doing this. (just a future suggestion, since I’ve got my own fix for now)
    Plugin Contributor David Cramer

    (@desertsnowman)

    I’ll take a look but not sure how to solve it yet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional logic demo 404 on docs site’ is closed to new replies.