new to pods
i m facing the problem in realationship(pick) when using for a custom post type when i used it as a feild. its entry occur in the other table not on the same table.
I want its relationship value to save in that same table like others feild entry happen.
Please post the feature request at the following URL, it’s not possible built-in yet, but you can use an input helper to fool the form into treating the field as a relationship but storing it in a single line text field.
Thanks 4 replying. Can you show me code for this please
input helper to fool the form into treating the field as a relationship but storing it in a single line text field.
It’s in pods/ui/input_fields.php
Take the part that is the ‘pick’ section, and put that into an input helper. Then at top, use PHP to set $value = implode(‘,’, $value); and adjust code to use in_array instead of the ‘active’ check.
You must be logged in to reply to this topic.