Skip Navigation

[Resolved] Editar campos repetitivos desde formulario en el frontend

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 10 replies, has 2 voices.

Last updated by Nigel 3 years, 4 months ago.

Assisted by: Nigel.

Author
Posts
#1831789

Tell us what you are trying to do?
He creado un tipo llamado "entidades" y esta compuesto de campos normales y repetitivos.
Par editar desde el frontend el tipo entidades uso un formulario y dentro de el muestro varias views con los campos repetitivos.
Desearía editar dichos campos repetitivos también desde el frontend, pero no encuentro el modo de hacerlo ágil y fácil para el usuario.
Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1832011

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hola Mauricio

La verdad es que es un poco feo y debemos mejorar este experiencia (he añadido este hilo al ticket interno para darle un empujo).

Hasta entonces se describen los pasos aquí: https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/#forms-for-editing-values-of-existing-repeatable-field-groups

#1832221

He seguido los pasos de https://toolset.com/course-lesson/front-end-forms-for-repeatable-field-groups/#forms-for-editing-values-of-existing-repeatable-field-groups, pero cuando llego a:
"05. Use the Block navigation button to select the View Loop block and add the Toolset Forms block. In the dialog that appears, select your form in the Edit Post Forms section."
no veo como hacerlo, no encuentro el "View Loop"

#1833175

No consigo verlo desde el editor de bloques, pero desde el editor clásico sí.
De este modo lo resuelvo, pero no entiendo por que no veo el bucle desde el editor de bloques.

#1833313

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2020-11-03 at 13.59.24.png

¿El problema es que no ves el "View Loop" cuando usas Blocks?

Pero el View Loop es requerido, si lo quitas se añade de nuevo automáticamente.

¿Ó querías decir otra cosa?

#1833461
vista01.jpg

Exacto no lo veo y no aparece de nuevo.
Hago clic sobre "view" y no se despliega nada.

#1834293

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

block navigation.gif

Tienes que seleccionar el View para poder ver sus bloques interiores, ve pantallazo

#1834363
vista02.jpg

Lo sé, Nigel, lo sé.
Pero aparecen.
Uso una plantilla de contenido para el tipo de campo "entidades". Donde incluyo la Vista "Entidades - datos de contacto".
La vista tiene un formulario de edición incluido, que me permite modificar los campos de la view. Este formulario se muestra mediante un grupo condicional que se activa al seleccionar el check de cada línea de la view.
Es raro que no se puedan ver lo bloques interiores.

#1834391

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2020-11-04 at 12.27.56.png

Ahora lo veo, es un View creado por el editor legacy y insertado por bloques, ¿correcto?

Por eso no se puede editar el View con el editor de bloques...

#1834563

Correcto Nigel, la view la cree con el editor legacy.
Perfecto, ahora se como hacerlo.
Mucha gracias. Todo resuelto.

#1834583

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Bien, entonces cierro aquí...

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.