Passer la navigation

[Résolu] URL parameter for a relationship field on a CRED form

This support ticket is created Il y a 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 -

Fuseau horaire du supporter : America/Jamaica (GMT-05:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par joseM-8 Il y a 4 years, 2 months.

Assisté par: Shane.

Auteur
Publications
#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?
lien caché

What is the link to your site?

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

#2324161
#2324241

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: 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.
lien caché

Please let me know if this helps.
Thanks,
Shane

#2324273

My issue is resolved now. Thank you!