Skip Navigation

[Résolu] cred form for repaing field – default current post

This support ticket is created Il y a 3 années et 1 mois. 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.

This topic contains 1 réponse, has 1 voix.

Last updated by Ido Angel Il y a 3 années et 1 mois.

Auteur
Publications
#1420579

hey,
I have a cred form for creating a repeatable field belonging to a post type "order".
I am placing the form in a view displaying all orders. each order has its own form.
but every time i need to choose the parent "order".
is there a way to make the current post be the default parent for the form, instead of having to choose it from a list?
thanks!

#1421183

Got this! Need to enter the value as post-id like this:

[cred_field field='@sender-notes.parent' class='form-control' output='bootstrap' select_text='--- not set ---' author='$current' value='[wpv-post-id]']