Hi Marko.
That's a validation logic.
Current it could be implemented only with custom JS code.
In this case you should:
1 Remove from your button click event handler with action = invoke create service.
2 Create new JS event handler on the button from 1st step with following code:
pre
//Note: you should replace "inputComponentName" with your input component name.
var yourInputValue = Apperyio("inputComponentName");
//Note you should replace "mobileradiogroup_10" with your mobileradiobuttongroup component name.
var yourRadioButtonValue = Appery("mobileradiogroup_10").find("input:checked").val();
if(yourInputValue && yourRadioButtonValue){
//Here is code if your validation passed.
Code: Select all
//Note you should replace "yourServiceName" with your datasource create service name on this page.
yourServiceName.execute();
}
else{
//Here is code if your validation NOT passed.
alert("Something wrong with fields filling..");
};
/pre
Regards.