Segnalazione #153
validatore input action
Start date:
01/18/2017
Due date:
% Done:
0%
Estimated time:
Description
Nelle action per cluster (ma probabilmente anche altrove), tipo
http://localhost:8000/host/group/edit/paperopoli
ci sono tre action che prevendono input di test (message, package, new computer).
Il pulsante di submit va disabilitato se non c'e' testo contenuto. E' sufficiente validazione lato javascript/template.
Associated revisions
Add ids to widgets. refs: #153
Toggle buttons depending on freeform widgets content. refs: #153
Trigger the input event on load. refs: #153
History
Updated by Mark Caglienzi about 8 years ago
- Status changed from In elaborazione to Commenti
- Assignee changed from Mark Caglienzi to Christopher R. Gabriel
267c618e:
- Aggiunti id a bottoni e input freeform (a questi ho aggiunto anche una classe)
- Nel render del widget ciclo sugli input (usando la classe) e "toggling" del relativo bottone sulla base del contenuto dell'input, triggerato sull'evento input
- Trigger di input durante l'inizializzazione, in modo che il controllo funzioni anche onload
Mergiato e pushato
Updated by Christopher R. Gabriel about 8 years ago
- Status changed from Commenti to Chiuso
Ok verificato, chiudo.
Temporary workaround. refs #154 #153