| Package | Description |
|---|---|
| org.openforis.collect.designer.viewmodel |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SurveyBaseVM.CanLeaveFormCompleteConfirmHandler |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SurveyBaseVM.checkCanLeaveForm(SurveyBaseVM.CanLeaveFormConfirmHandler confirmHandler)
If the current form is valid, execute the onOk method of the specified confirmHandler and returns true,
otherwise shows a confirm message handled by the specified confirmHandler and returns false
If the form is not valid and the confirmHandler is not specified, shows a warning message.
|
boolean |
SurveyBaseVM.checkCanLeaveForm(SurveyBaseVM.CanLeaveFormConfirmHandler confirmHandler,
String messageKey) |
Copyright © 2022 Open Foris. All rights reserved.