Skip Navigation

[Escalated to 2nd Tier] Adding [wpv-post-id] as the default value to relationship field discards changes

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 5 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#1205768

Hey Guys,

Ok so I think I found a bug in the relationship field using the builder...
When I use the "Simple" editor mode in the form's field, It works perfectly, when I add a relationship field, it saves correctly...
But when I add [wpv-post-id] as the default value, and then save, it throws away the relationship field, and adds a recaptcha field for some reason?

Would you be able to advise?

#1205977

Hello,

I assume we are talking about this case:
- One-to-many relationship between post type "parent-cpt" and "child-cpt"
- A toolset form for creating/editing "child-cpt" post

I can duplicate the same problem in my localhost, and have escalated it.

Currently, you can switch to "expert mode", then save the form, it should be able to save the form content correctly.