Como tornar o widget Lista Configurável necessário duas vezes por mês?

  • View_Out
    Perguntado em 10 de março de 2025 às 11:09

    TEMOS UM RELATÓRIO E QUEREMOS COLOCAR QUE O CAMPO DE DATA DE VALIDADE SE TORNE OBRIGATÓRIO A CADA 15 DIAS (PRA COBRARMOS AS VALIDADES DE TODOS OS PRODUTOS 2 VEZES NO MÊS (DUAS VEZES NO MÊS NUMA QUARTA- FEIRA), É POSSÍVEL FAZER ISSO?
    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 1 Screenshot 20
    SEGUE FOTO DE COMO É COBRADO NO FORMULÁRIO AO USUÁRIO

  • Jenette_R Jotform Support
    Respondido em 10 de março de 2025 às 13:48

    Hi View_Out,

    Thanks for reaching out to Jotform Support. Our Portuguese 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 Portuguese, 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. I’ll need a bit of time to look into this. I’ll get back to you as soon as I can.

    Thanks for your patience and understanding, we appreciate it.

  • Jenette_R Jotform Support
    Respondido em 10 de março de 2025 às 17:40

    Hi View_Out,

    To clarify, would you like the field to be required only twice every month? For example, March 12, 2025, will be Wednesday, and after that it will be required again on March 26, 2025? Also, if we make the field mandatory every 15 days, that would be March 15, 2025, and it will be mandatory again by March 30, 2025.

    If you want the field to be required only twice every month on Wednesday, you need to add a Date Picker element, and we can set it to Current Date, then we will also need to add an Enable/Require/Mask Field condition. Let me show you how:

    First, we need to add a Date Picker and set it to Current Date:

    1. In Form Builder, click on Add Element on the upper-left side of the page.

    2. Under the Basic tab, click on the Date Picker and drag and drop to your field. 

    3. Click on the Date Picker field, and click on the Gear icon to open Date Picker Properties.

    4. In the menu on the right side of the page, click on the Options tab, then click on Current under Default Date.

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 1 Screenshot 80

    Then, we need to hide the Date Picker we've added. Here's how to do it:

    1. In Form Builder, click on Date Picker field.

    2. Click on the Gear icon to open Date Picker Properties.

    3. Then, click on the Advanced tab, and toggle the Hide field to the On position.

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 2 Screenshot 91

    After that, we'll go ahead and set up the condition. Let me help you with that:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Settings.

    2. Click on Conditions on the left of the page.

    3. Now, click on Add a New Condition.

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 3 Screenshot 1024. Then, select on Enable/Require/Mask Field

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 4 Screenshot 113

    5. Then, set the condition like you see below and click on Save.

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 5 Screenshot 124

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 6 Screenshot 135

    The condition added is for March 12, 2025, and the second condition is for March 26, 2025. In this condition, the Configurable List widget will be required only if the current date on the Date Picker is on March 12 and 26. But you might need to manually change the Value in the Condition. And you also need to add multiple Date Picker element for each Configurable List widget to your form. Check out my screenshot below to see my results:

    Como tornar o widget Lista Configurável necessário duas vezes por mês? Image 7 Screenshot 146

    I temporarily showed the Date Picker field to show how it works. But you can also check my cloned form here. We have a guide on How to Clone an Existing Form From a URL that you can check out.

    But, if that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Give it a try and reach out again if you have any other questions.