[Closed] Save value in relationship form

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 1 month, 2 weeks ago.

Assigned support staff: Christian Cox.

Author
Posts
#1626577

Hello!
I have two CPTs in a relationship. These relationship have a field (days).

I have a relationship form with this field:
[cred-relationship-field name='days' value='6']

When i create a new relationship with this form, value is saved correctly.

But, if the relationship exists, the form don't save (update) the field value. How can i add/update the relationship field value?

#1628137

Christian Cox
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I have a relationship form with this field:
[cred-relationship-field name='days' value='6']
When i create a new relationship with this form, value is saved correctly.
But, if the relationship exists, the form don't save (update) the field value. How can i add/update the relationship field value?

Hello, can you tell me:
- What type of field is the days field? If it is a radio, select, or checkboxes field, please edit this custom field (Go to Toolset > Relationships to edit the fields for this relationship) and show me the a screenshot of all the field settings.
- If you remove the value='6' from the shortcode, does the field value change as expected when you edit a relationship?

The topic ‘[Closed] Save value in relationship form’ is closed to new replies.