warning for not filled fields in guide
5 visualizzazioni (ultimi 30 giorni)
Radoslav Vandzura il 8 Nov 2015
I would like to ask you how can I make warning for not filled fields in guide? I want when someone doesnt fill fields, warning will appear at the screen? How should I do it?
Image Analyst il 8 Nov 2015
You have to get the fields that you want to check, then use isempty() or length() or something to see if there is anything there
editField = get(handles.edit1, 'String');
message = sprintf('Warning: edit1 is not allowed to be empty!');