• Resolved junkes

    (@junkes)


    Hey,

    Just got the 2.8.1 update and tried the Pods Form Block. Is it possible to let people add the relationship field also? For example, I’m displaying a form to add CDs to the site and there’s a relationship field connected to an Artist CPT created with Pods. So, if the user wants to add a CD recorded by a new artist there isn’t registered, is it possible to add that artist “inside” my CD form?

    About the date field, I’m using WordPress default one (j \d\e F \d\e Y, in my case) but I’m getting weird characters like “DDzz” instead of “de” and I get an error that “the Date was wasn’t provided in a recognized format” or sth when I try to update an item with that field. It also happened that the date changed like from november to october after I updated the post item.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    You can enable the add new and edit links for the relationships on the public forms by using this filter:

    add_filter( 'pods_ui_dfv_pick_modals_show_on_front', '__return_true' );

    Just know that it does open up admin screens in the modal iframe and none of this will show if they do not have the correct capabilities to create new or edit the related object items.

    In the future for frontend requests, we may end up offering an option for relationship fields to load up modals with their own public form versions instead of the admin screens. For now that’s just an idea for the future.

    On your date fields issue, we are currently looking into a solution for that: https://github.com/pods-framework/pods/issues/6213

    Thread Starter junkes

    (@junkes)

    Thank you, @sc0ttkclark, I’ll try that. And, btw, that’s an awesome ideia for the future!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pods Forms and Date field in 2.8.1’ is closed to new replies.