Skip Navigation

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

This support ticket is created hace 4 años, 11 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Ido Angel hace 4 años, 11 meses.

Autor
Mensajes
#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]']