Throw New ApplicationException(“Il campo xxxx è obbligatorio”)
Utilizzare il codice in una Wizard page, dopo l’inserimento di un’ IF, al posto di return true/false. La frase che si trova fra parentesi può essere cambiata in base a ciò che vogliamo suggerire all’utente.
If [OpzRichiestaExNovo].valore = False and [OpzVolturaPrecedente].valore = False and [OpzCambioTarga].valore = False then
Throw New ApplicationException("SELEZIONARE OBBLIGATORIAMENTE UN'ALTERNATIVA")
else
[FmlValorizzaCampi].Esegui
return true
end if