Assegnare un valore ad un campo nascosto

  • fdigemma
    Domanda del 4 ottobre 2024 alle ore 05:28

    Buongiorno, è possibile avere un campo nascosto e con le condizioni valorizzare il campo nascosto?

    ho provato ad utilizzare il widget casella nascosta ed in impostazioni creare le condizioni con calcola valore, ma quando inserisco o un numero e lo salvo sul campo nascosto vedo sempre nullo il valore.

    Sto sbagliando widget?

    grazie

  • Danilo Jotform Support
    Risposta del 4 ottobre 2024 alle ore 07:40

    Hi fdigemma,

    Thanks for reaching out to Jotform Support. Our Italian 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 Italian, 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 can take a screenshot of what’s happening, that'll help us to understand better what’s going on. Let me show you how to post a screenshot to our Support Forum:

    1. On the Support Forum page, scroll down to the Your Answer section and click on the Image icon.

    2. Drag and drop your image into the Upload box, or click on it and select your file.

    3. Then, click on the Add button in the bottom-right corner of the window.

    Assegnare un valore ad un campo nascosto Image 1 Screenshot 30

    4. To resize it, click on your screenshot and then click on one of the boxes in the corners, and drag it inward.

    5. Once you're finished, click on the Post Answer button at the bottom right of the Your Answer section.

    Assegnare un valore ad un campo nascosto Image 2 Screenshot 41 That's it. Once we hear back from you, we'll be able to help you with this.

  • fdigemma
    Risposta del 4 ottobre 2024 alle ore 09:06


    Buongiorno

    Ecco gli screenshot di quello che vorrei creare, utilizzo il widget scelta immagini, in base alla scelta vorrei valorizzare il campo nascosto domanda 1 con un valore numerico.

    Ma lo vedo sempre nullo quando compilo il form

    Come campo nascosto utilizzo il widget Casella Nascosta

    Assegnare un valore ad un campo nascosto Image 1 Screenshot 30


    Assegnare un valore ad un campo nascosto Image 2 Screenshot 41

  • Marco Jotform Support
    Risposta del 4 ottobre 2024 alle ore 09:57

    Salve Filippo,

    Anziché utilizzare il widget casella nascosta, dovrà utilizzare il widget di calcolo. In questo modo, la condizione logica diventerà:

    Assegnare un valore ad un campo nascosto Image 1 Screenshot 40

    Il modulo funzionerà in questo modo:

    Assegnare un valore ad un campo nascosto Image 2 Screenshot 51

    Se lo desidera poi, può impostare il widget come nascosto, così da non renderlo visibile agli utenti durante la compilazione del modulo. Basterà cliccare sul widget, col tasto destro del mouse, quindi dal menù a tendina scegliere Nascondi:

    Assegnare un valore ad un campo nascosto Image 3 Screenshot 62

    Restiamo a disposizione per qualsiasi chiarimento.