silverstripe-framework/forms
Hamish Friedlander 65030906ad BUGFIX: Add validation to fix open.silverstripe.org ticket #7494
When adding media via the HtmlEditorField dialog, the value of the URL field wasnt being validated. Youd get different errors depending on if the field was empty
or if it had text, but it didnt look like an absolute URL to HtmlEditorField#viewfile.

This adds some javascript validation to make the text field look like a URL field
2012-06-21 14:19:41 +12:00
..
gridfield MINOR GridField compat with ViewableData records (fixes #7479) 2012-06-15 13:33:34 +02:00
AjaxUniqueTextField.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
CheckboxField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
CheckboxSetField.php BUGFIX Ensure that a single string value (as opposed to an array of 2012-06-11 13:41:02 +12:00
ComplexTableField.php MINOR Switching _t() calls from sprintf() to using injection parameters (#7170) 2012-05-01 22:17:00 +02:00
CompositeField.php API CHANGE Renamed setContainerFieldSet() to setContainerFieldList() to match the FieldList API. 2012-05-14 15:16:44 +12:00
ConfirmedPasswordField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
CreditCardField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
CurrencyField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
DatalessField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
DateField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
DatetimeField.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
DisabledTransformation.php BUGFIX: fix up some E_STRICT errors 2012-04-17 11:51:55 +12:00
DropdownField.php MINOR Use shorthand {class}::get() syntax instead of DataList::create() 2012-05-28 21:13:42 +12:00
EmailField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
FieldGroup.php ENHANCEMENT: populate FormField:: on the fly based on class name of field rather than requiring explict definition. 2012-04-14 17:36:19 +12:00
FieldList.php API CHANGE Renamed setContainerFieldSet() to setContainerFieldList() to match the FieldList API. 2012-05-14 15:16:44 +12:00
FieldSet.php MINOR: Use Deprecation class to indicate deprecated methods in core. 2011-10-29 17:34:31 +13:00
FileField.php ENHANCEMENT: populate FormField:: on the fly based on class name of field rather than requiring explict definition. 2012-04-14 17:36:19 +12:00
FileIFrameField.php API CHANGE Add Form->getController() and use this instead of Controller::curr() in FileIFrameField 2012-05-24 10:46:57 +12:00
Form.php API CHANGE Marked Form::unsetFieldFromTab() as deprecated. Please use 2012-05-31 14:29:58 +12:00
FormAction.php BUGFIX: Fix correct input type for ImageFormAction replaces. 2012-06-13 09:57:54 +02:00
FormField.php BUGFIX: Fix correct input type for ImageFormAction replaces. 2012-06-13 09:57:54 +02:00
FormScaffolder.php MINOR Renaming getFieldSet with getFieldList in FormScaffolder 2012-05-14 15:03:22 +12:00
FormTransformation.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
GroupedDropdownField.php MINOR: Ensure all form fields Field() method has the same signature as FormField::Field(). Fixes E_STRICT warnings. 2012-04-11 17:33:36 +12:00
HasManyComplexTableField.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
HasOneComplexTableField.php MINOR: Consistently use DataObjectInterface for saveInto() on FormField subclasses. Fixes E_STRICT notice 2012-04-11 17:00:57 +12:00
HeaderField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
HiddenField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
HtmlEditorConfig.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
HtmlEditorField.php BUGFIX: Add validation to fix open.silverstripe.org ticket #7494 2012-06-21 14:19:41 +12:00
ImageField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
ImageFormAction.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
InlineFormAction.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
LabelField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
ListboxField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
LiteralField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
LookupField.php MINOR: Ensure all form fields Field() method has the same signature as FormField::Field(). Fixes E_STRICT warnings. 2012-04-11 17:33:36 +12:00
ManyManyComplexTableField.php API CHANGE: Add SQLQuery::clearSelect(), SQLQuery::selectField() and SQLQuery::itemisedSelect() to make it easier for other subsystems to use SQLQuery without resorting to direct property access. 2012-05-01 17:57:39 +12:00
MemberDatetimeOptionsetField.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
MoneyField.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
NestedForm.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
NullableField.php MINOR Removed deprecated usage of $priority argument in _t() calls 2012-04-15 17:17:17 +02:00
NumericField.php MINOR Switching _t() calls from sprintf() to using injection parameters (#7170) 2012-05-01 22:17:00 +02:00
OptionsetField.php MINOR Update class docs for OptionsetField to use short DataList query 2012-05-28 21:12:59 +12:00
PasswordField.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
PhoneNumberField.php MINOR: Ensure all form fields Field() method has the same signature as FormField::Field(). Fixes E_STRICT warnings. 2012-04-11 17:33:36 +12:00
PrintableTransformation.php MINOR: Ensure all form fields have FieldHolder() with identical signature to FormField::FieldHolder(). Fixes E_STRICT warnings. 2012-04-11 18:07:55 +12:00
ReadonlyField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
ReadonlyTransformation.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
RequiredFields.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
ResetFormAction.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
SelectionGroup.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
SimpleImageField.php MINOR Replacing deprecated static function calls to Director with 2012-05-23 21:50:02 +12:00
Tab.php ENHANCEMENT addExtraClass() support for Tab and TabSet 2012-05-08 11:25:44 +02:00
TableField.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00
TableListField.php BUGFIX Setting MIME type for TableListField export explicitly, as HTTP::get_mime_type() requires a path to an actual file, in this case we're exporting data directly to the browser. 2012-05-11 14:26:25 +12:00
TabSet.php ENHANCEMENT addExtraClass() support for Tab and TabSet 2012-05-08 11:25:44 +02:00
TabularStyle.php Clean up trailing ?> per coding standard 2012-02-12 12:40:16 -08:00
TextareaField.php API CHANGE Read-only fields no longer include companion hidden fields (see pull request #399) 2012-05-03 14:24:03 +02:00
TextField.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
TimeField.php MINOR Switching _t() calls from sprintf() to using injection parameters (#7170) 2012-05-01 22:17:00 +02:00
ToggleCompositeField.php ENHANCEMENT: Refactored ToggleCompositeField. 2012-06-13 14:20:27 +10:00
ToggleField.php API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
TreeDropdownField.php MINOR Fixed phpdocs 2012-06-20 23:59:16 +02:00
TreeMultiselectField.php MINOR: Include the title attribute on tree and readonly fields. 2012-06-13 13:19:16 +02:00
UploadField.php MINOR Saving UploadField detail form correctly when nested in GridField 2012-06-15 17:50:18 +02:00
Validator.php MINOR Removing "." from the end of validation messages 2012-06-01 13:13:06 +12:00