Select list in Form:
<Label text="Group" />
<Select width="100%" id="group">
<items>
<core:Item text="Select" key="1"/>
<core:Item text="B.Tech" key="2"/>
<core:Item text="M.C.A" key="3"/>
<core:Item text="M.Tech" key="4"/>
</items>
</Select>
<Label text="Sex" />
<Select width="100%" id="group">
<items>
<core:Item text="Select" key="1"/>
<core:Item text="B.Tech" key="2"/>
<core:Item text="M.C.A" key="3"/>
<core:Item text="M.Tech" key="4"/>
</items>
</Select>
<Label text="Sex" />
var select = this.getView().byId("group").getSelectedKey();
if(select==1){
sap.m.MessageBox.alert("Please select the course");
return false;
}
if(select==1){
sap.m.MessageBox.alert("Please select the course");
return false;
}
how to add new simple form to the existing simple form upon click on button
ReplyDeleteThanks for sharing informative post.
ReplyDeleteSAP UI5 Online Training in India