¿Cómo aplicar el cambio de color mediante CSS al PDF original?

  • radiographicssas
    Fecha de consulta 1 de febrero de 2025, 9:16

    ¡Hola!

    Tengo un formulario que contiene un serial único, el cual generé con el widget ID Único. Necesito que ese número de serie se muestre en color rojo en lugar de negro, que es el color predeterminado.

    Cuando edito el campo con código CSS en el apartado de edición de temas del formulario, el color cambia correctamente. Sin embargo, al completar y enviar el formulario, el cambio de color no se mantiene, y el campo aparece nuevamente en negro.

    Quisiera saber cómo puedo cambiar el color del texto de ese campo de negro a rojo y asegurarme de que el cambio se mantenga cada vez que se llene el formulario.

    Adjunto imagen de como se ve al aplicar el código CSS en el apartado de edición de temas:

    ¿Cómo aplicar el cambio de color mediante CSS al PDF original? Image 1 Screenshot 30

    y así se ve al enviar el formulario, no cambia el color:

    ¿Cómo aplicar el cambio de color mediante CSS al PDF original? Image 2 Screenshot 41


  • Ronald Jotform Support
    Fecha de respuesta 2 de febrero de 2025, 17:41

    Hi radiographicssas,

    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, Unfortunately, added CSS to change the font color of the input will not reflect in the Original PDF. A workaround that you can do is to change the color of the text from the PDF editor, however, this gets also be applied to all input texts. It is very easy to do. Let me show you how:

    1. In Form Builder, select Downward Arrow icon in the upper left side.

    2. Select the PDF Editor from the dropdown menu.

    ¿Cómo aplicar el cambio de color mediante CSS al PDF original? Image 1 Screenshot 40

    3. In the PDF Editor, click on the blue Roller Paint icon.

    ¿Cómo aplicar el cambio de color mediante CSS al PDF original? Image 2 Screenshot 51

    4. Select the Color and change it to Red. The change will automatically be save and you're done.

    ¿Cómo aplicar el cambio de color mediante CSS al PDF original? Image 3 Screenshot 62

    Give it a try and let us know how it goes.

Su respuesta