Error with task form: Value is not of type Null

Hello everybody,
I’m using a task form in html file. I cannot understand the error
An error happened while submitting the task form : Value ‘1’ is not of type Null
when I try to modify the value Numero Giorni

Here the HTML code that I use in the form

I cannot attach the code exactly

NOME COGNOME
CAUSALE
<input cam-variable-name="causale" type="text" name="causale"
         class="form-control" />
</div>
DATA INIZIO
<input cam-variable-name="data_inizio" cam-variable-type="Date" type="text" name="date"
         class="form-control" />
</div>
NUMERO GIORNI

immagine

  <div class="form-group">
<label class="control-label col-md-2">NUMERO ORE PERMESSO</label>
<div class="col-md-10">
  <input cam-variable-name="numero_ore_permesso"
         type="text"
         name="numero_ore_permesso"           
         class="form-control" />
</div>
 <div class="form-group">
<label class="control-label col-md-2">ORA INIZIO PERMESSO</label>
<div class="col-md-10">
  <input cam-variable-name="ora_inizio_permesso"
         type="text"
         name="ora_inizio_permesso"            
         class="form-control" />
</div>
<div class="form-group">
<label class="control-label col-md-2">NOTE DELLA RICHIESTA</label>
<div class="col-md-10">
  <input cam-variable-name="note"
         type="text"
         name="note"             
         class="form-control" />
</div>
RICHIESTA DI PRIMO LIVELLO APPROVATA?
<div class="form-group">
<div class="col-md-10 col-md-offset-2">
  <div class="checkbox" onclick="return false">
    <label>
      <input cam-variable-name="modifica"
             cam-variable-type="Boolean"
             type="checkbox"
             name="modifica"
			 readonly="true"
             class="form-control" />
      E' RICHIESTA LA MODIFICA DELLA RICHIESTA?
    </label>
  </div>
</div>
NECESSARIO SECONDO LIVELLO?
RICHIESTA DI SECONDO LIVELLO APPROVATA?

Blockquote

Hi @oronzo_lezzi,

Shouldn’t you use cam-variable-type instead of type? I think it can be a reason.

Best regards

1 Like

Thank you this solve my issue