Smart PDF: Map the Cities of Spain widget to the PDF

  • Julio_jagarcia
    Fecha de consulta 14 de marzo de 2024, 11:55

    Estoy haciendo un formulario para rellenar un PDF.

    He añadido el widget "Ciudades de España" pero me encuentro con el problema que no me deja añadir el campo al PDF para rellenarlo.

    ¿No es compatible este widget para rellenar PDF o estoy haciendo algo mal?


    Muchas gracias.

  • Rose Jotform Support
    Fecha de respuesta 14 de marzo de 2024, 12:12

    Hi Julio_jagarcia,

    Thanks for reaching out to Jotform Support. Unfortunately, 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, let me help you with your question. Unfortunately, the Cities of Spain widget can't be mapped to the original PDF. However, you can do the workaround below to map its value to the PDF document. Let me walk you through the process:

    • Add a Short Text field and you must set it as hidden. Map the Short Text field to the Providencia field in the PDF on the right.

    Smart PDF: Map the Cities of Spain widget to the PDF Image 1 Screenshot 50

    Smart PDF: Map the Cities of Spain widget to the PDF Image 2 Screenshot 61

    • You must also set the form to not clear the value of hidden fields.

    Smart PDF: Map the Cities of Spain widget to the PDF Image 3 Screenshot 72

    • Here's a screencast showing what happens in the backend:

    Smart PDF: Map the Cities of Spain widget to the PDF Image 4 Screenshot 83

    Since the hidden Short Text field value is mapped to the PDF, the selected city from the widget will show in the PDF output.

    Give it a try and let us know if you need any help.