// the fields current value currentValue = attributes.currentValues[fqFieldName]; // the param structure which will hold all of the fields from the props dialog xparams = parameters[fieldQuery.inputID]; // find if we need to render the simple form field renderSimpleFormField = false; if ( (StructKeyExists(request, "simpleformexists")) AND (request.simpleformexists EQ 1) ) renderSimpleFormField = true; // load jQuery application.facebook.scripts.loadJQuery(); application.facebook.scripts.loadJQuerySelectboxes(); //read app config appConfig = application.facebook.getAppConfig("facebook"); //initialize Facebook API application.facebook.scripts.loadFacebookJS(true); //setup the extended permissions we'll need, in case we show the Login button extendedPerms = "manage_pages,publish_stream"; //read the cookie theCookie = application.facebook.fbService.getFacebookCookie(); if ( structKeyExists(request, "element") ) { labelText = ''; tdClass = 'CS_Form_Label_Baseline'; } else { labelText = ''; tdClass = 'cs_dlgLabel'; } #labelText# Please log into Facebook to select the page you want to post to: