-
ajuridicofalconAsked on June 18, 2025 at 7:54 PM
Hola,
Estoy intentando configurar un formulario para un flujo de dos partes donde un Promotor llena la Parte 1, y luego un Captador edita el mismo envío para llenar la Parte 2.
Para esto, estoy utilizando un "edit_link" enviado en un auto-responder.
El problema es el siguiente:
1. El Promotor llena y envía la Parte 1. 2. El Captador recibe correctamente el correo con el "edit_link". 3. Al hacer clic en el "edit_link", el formulario se abre, la Parte 1 está precargada (lo cual es correcto), pero la Parte 2 (que debería mostrarse con lógica condicional) permanece oculta. El Captador solo ve la Parte del Promotor.
He realizado los siguientes pasos de depuración: * El formulario tiene un campo oculto llamado "Modo de Edición" con un valor predeterminado de {editMode}. * La lógica condicional para mostrar la Parte 2 es: SI "Modo de Edición" ES IGUAL A "Sí" ENTONCES MOSTRAR [todos los campos de la Parte 2]. * La opción "Guardar y continuar después" en la configuración del formulario está ACTIVADA. * El "edit_link" en el correo del Captador está correctamente formateado como <a href="{edit_link}">...</a>. * Incluso eliminé y volví a crear el campo oculto y la lógica condicional.
Necesito su ayuda para entender por qué la variable {editMode} no se está evaluando correctamente a "Sí" cuando el formulario se abre con el edit_link, impidiendo que mi lógica condicional funcione. Por favor, revisen la configuración de mi formulario para identificar el problema.
Gracias.
-
Lorenz JotForm SupportReplied on June 18, 2025 at 11:41 PM
Hola ajuridicofalcon,
Thanks for reaching out to us for help. Our Spanish Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Spanish, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, coming back to your question, the idea of creating a condition is actually correct. But we need to make some modification. Instead of using the custom field you added as trigger, we need to use Get Form Page URL widget. Let me walk you through it:
1. In Form Builder, in the left side of the page, click on the Add Element button.
2. In the left panel, go to the Widgets tab, search for Get Form Page URL widget and add it to the form.
After adding the widget, you then need to edit the condition you've set up. Let me show you how to do it:
1. In Form Builder, in the orange navigation bar at the top, click on Settings.
2. In the menu on the left, click on Conditions.
3. Now, hover your mouse of the show condition you've set up, and click on the Pencil icon to edit it.
4. Finally, set up the IF statement section, to show the fields if Get Page URL widget contains the word 'edit', and click on Save.
Give it a try and let us know if you need any more help.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!