Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta

  • pamela.yax
    Fecha de consulta 20 de enero de 2025, 17:43

    Buenas tardes,

    Estoy intentando realizar una integración de un formulario con google drive que cree la carpeta y cada archivo que guarda con el correlativo automático (número de recibo), fecha y código. Pero al elegir los campos del formulario que deseo con que se guarde no aparece el correlativo automático (número de recibo) y no guarda como debería.

    Me podrían ayudar de como tengo que configurar el formulario de ese campo para que aparezca en esta opción o cuales son los pasos correctos para realizar la integración.

    Lo mismo me sucede para guardar el archivo pdf del formulario en la carpeta no puedo seleccionar el campo de numero de recibo

    Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta Image 1 Screenshot 20

  • Mary Eden Jotform Support
    Fecha de respuesta 21 de enero de 2025, 5:35

    Hello Pamela,

    Thanks for reaching out to Jotform Support. Our Spanish Support agents are busy helping other Jotform users right now, so 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, it might take a while until they're available again.

    Now, coming back to your question, by default, it isn't possible to pull the value generated in the widget to be used as the folder name in your Google Drive. As a workaround, we can use just a basic form field such as a Number field and we'll set up an Update/Calculate field condition. Let me show you how:

    1. In Form Builder, click on the Add Form Element menu on the left side of the page to see the complete list of elements and widgets.

    2 . Under the Basic tab, scroll down the list, and then drag and drop the Number field onto your form. 

    Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta Image 1 Screenshot 50

    3. Set up the Update/Calculate Field condition.

    a. click on the Settings tab in the orange navigation bar at the top of the page.

    b. In the menu on the left side of the page, click on Conditions.

    c. Now, use the Update/Calculate Field element to create a conditional rule.

    Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta Image 2 Screenshot 61

    d.Set your conditions similar to the condition below:

    Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta Image 3 Screenshot 72

    Check out the screencast below to see my results:

    Google Drive: Posibilidad de utilizar el valor del widget como nombre de la carpeta Image 4 Screenshot 83 Give it a try and reach out again if you have any other questions.