Navigation überspringen

[Gelöst] URL parameter for a relationship field on a CRED form

This support ticket is created vor 4 years, 2 months. 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Zeitzone des Unterstützers: America/Jamaica (GMT-05:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von joseM-8 vor 4 years, 2 months.

Assistiert von: Shane.

Author
Artikel
#2324141

Tell us what you are trying to do?
pass a URL parameter for a relationship field on a CRED form

Is there any documentation that you are following? no

Is there a similar example that we can see?
versteckter Link

What is the link to your site?

should se the filed to "test company" but has no affect.

#2324161
#2324241

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Screenshot 2022-03-22 at 2.01.27 PM.png

Hi Jose,

Thank you for getting in touch.

On the Forms edit page for your particular form, you can edit the relationship field and set any URL parameter you would want the field to listen out for. See Screenshot.

However in order for the field to pick the correct parent you must provide it with the ID of the parent and not the post title. Essentially your url will be.
versteckter Link

Please let me know if this helps.
Thanks,
Shane

#2324273

My issue is resolved now. Thank you!