prefix = attributes.prefix; currentValues = attributes.currentValues; typeid = attributes.typeid; formname = attributes.formname; // writedump( var="#currentValues#", expand="no" ); // Variable for the version of the field - Display in Props UI. fieldVersion = "2.0.4"; // initialize some of the attributes variables top = 0; left = 0; right = 0; bottom = 0; showTop = 1; showRight = 1; showBottom = 1; showLeft = 1; // Possible Values List PossibleValues = '10,9,8,7,6,5,4,3,2,1,0'; if( StructKeyExists(currentValues, "PossibleValues") ) PossibleValues = application.ADF.paddingSettings.normalizePaddingValues(PaddingValues=currentValues.PossibleValues); if( StructKeyExists(currentValues, "Top") ) top = application.ADF.paddingSettings.normalizePaddingValues(PaddingValues=currentValues.top); if( StructKeyExists(currentValues, "Right") ) right = application.ADF.paddingSettings.normalizePaddingValues(PaddingValues=currentValues.right); if( StructKeyExists(currentValues, "Bottom") ) Bottom = application.ADF.paddingSettings.normalizePaddingValues(PaddingValues=currentValues.bottom); if( StructKeyExists(currentValues, "Left") ) left = application.ADF.paddingSettings.normalizePaddingValues(PaddingValues=currentValues.left); if( StructKeyExists(currentValues, "ShowTop") ) ShowTop = currentValues.ShowTop; if( StructKeyExists(currentValues, "ShowRight") ) ShowRight = currentValues.ShowRight; if( StructKeyExists(currentValues, "ShowBottom") ) ShowBottom = currentValues.ShowBottom; if( StructKeyExists(currentValues, "ShowLeft") ) Showleft = currentValues.ShowLeft;
Possible Values:
If Possible Values are specified, then the user is presented with a selection list of values.
Otherwise an input control will be presented.

Show: checked="checked">   checked="checked">   checked="checked">   checked="checked">  
Top Default: px
Right Default: px
Bottom Default: px
Left Default: px

ADF Custom Field v#fieldVersion#