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:
jennylee
2012-12-13 12:28:11 -04:00
parent 4e20a99193
commit 2ddaae9bb3

View File

@@ -1127,7 +1127,6 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
$value = implode(" ", $title);
}
//if ($this->strTo==='CAPITALIZE') $value = strtocapitalize($value);
print_r($this->renderMode);
$onkeypress = G::replaceDataField( $this->onkeypress, $owner->values );
if ($this->replaceTags == 1) {
$value = G::replaceDataField( $value, $owner->values );