BUG-3860 New Feature. Add options "Capitalize Phrase" and "Title Case" to "Text transform to".
New Feature. I added new functions to Capitalize Phrase and Title Case in''Text transform to'.
This commit is contained in:
@@ -1127,7 +1127,6 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
|
|||||||
$value = implode(" ", $title);
|
$value = implode(" ", $title);
|
||||||
}
|
}
|
||||||
//if ($this->strTo==='CAPITALIZE') $value = strtocapitalize($value);
|
//if ($this->strTo==='CAPITALIZE') $value = strtocapitalize($value);
|
||||||
print_r($this->renderMode);
|
|
||||||
$onkeypress = G::replaceDataField( $this->onkeypress, $owner->values );
|
$onkeypress = G::replaceDataField( $this->onkeypress, $owner->values );
|
||||||
if ($this->replaceTags == 1) {
|
if ($this->replaceTags == 1) {
|
||||||
$value = G::replaceDataField( $value, $owner->values );
|
$value = G::replaceDataField( $value, $owner->values );
|
||||||
|
|||||||
Reference in New Issue
Block a user