diff --git a/lib/WebGUI/Form/FieldType.pm b/lib/WebGUI/Form/FieldType.pm index 5b8f05a2d..79fd327d1 100644 --- a/lib/WebGUI/Form/FieldType.pm +++ b/lib/WebGUI/Form/FieldType.pm @@ -169,6 +169,7 @@ sub toHtml { my %options; tie %options, "Tie::IxHash"; $self->set('options', $self->getTypes); + $self->set('sortByValue', 1); return $self->SUPER::toHtml(); } diff --git a/lib/WebGUI/Form/SelectRichEditor.pm b/lib/WebGUI/Form/SelectRichEditor.pm index 68d2c4b16..b5050c1bf 100644 --- a/lib/WebGUI/Form/SelectRichEditor.pm +++ b/lib/WebGUI/Form/SelectRichEditor.pm @@ -90,6 +90,18 @@ sub getName { return WebGUI::International->new($session, 'WebGUI')->get('SelectRichEditor formName'); } +#------------------------------------------------------------------- + +=head2 isDynamicCompatible ( ) + +A class method that returns a boolean indicating whether this control is compatible with the DynamicField control. Returns 0. + +=cut + +sub isDynamicCompatible { + return 0; +} + #---------------------------------------------------------------------------- =head2 new diff --git a/lib/WebGUI/Form/SubscriptionGroup.pm b/lib/WebGUI/Form/SubscriptionGroup.pm index 589ba8614..ed470e2d0 100644 --- a/lib/WebGUI/Form/SubscriptionGroup.pm +++ b/lib/WebGUI/Form/SubscriptionGroup.pm @@ -52,6 +52,18 @@ sub getName { #------------------------------------------------------------------- +=head2 isDynamicCompatible ( ) + +A class method that returns a boolean indicating whether this control is compatible with the DynamicField control. Returns 0. + +=cut + +sub isDynamicCompatible { + return 0; +} + +#------------------------------------------------------------------- + =head2 toHtmlWithWrapper ( ) Renders the form field to HTML as a table row. The row is not displayed because there is nothing to display, but it may not be left away because may not be a child of