Skip Navigation

[Resolved] cred form for repaing field – default current post

This support ticket is created 4 years, 11 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.

Our next available supporter will start replying to tickets in about 3.02 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 1 voice.

Last updated by Ido Angel 4 years, 11 months ago.

Author
Posts
#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]']