-
Notifications
You must be signed in to change notification settings - Fork 0
getFieldSelection
Kechushou edited this page May 19, 2015
·
2 revisions
define(function(){
quickforms.getFieldSelection = function(app,fact,field,id,callback){
var me = this; // caller
var serverQuery = new quickforms.ServerQuery({
method: "GET",
url: quickforms.quickformsUrl+'getFieldSelection'+quickforms.quickformsEnding,
data: {app:app,
factTable: fact,
field: field,
updateid : id || ""
}
});
serverQuery.fakeData = '[{"id":"1","selected":"selected","label":"Not Specified"},{"id":"2","selected":"","label":"Audi"},{"id":"3","selected":"","label":"Volvo"}]';
serverQuery.field = field;
serverQuery.addSuccessListener(
function(data){
callback.call(me,serverQuery.field,data);
});
quickforms.serverQueries.push(serverQuery);
serverQuery.run();
return serverQuery;
};
});
-
Quickforms Basics
-
Tutorials
- Setup Tutorials
- App Development Tutorials
-
Assignments
-
Project
-
Applications
-
Quickforms Advanced
- Project With Database
- Advanced Setup
- HealthApp with Database
- Source Control
- Joining the Team
- Cordova Native Application
- Miscellaneous
- Project With Database
-
-
Form Controls
-
App Controls
-
Report Controls
-
Server Controls
-
Quickforms DAO
-
Email Notification
-
Migrating QuickForms3(Test Server) to QuickForms(Production-Server)