Jambook Required Fields - Joomla! Forum - community, help and support
hi all,
i'm using jambook, don't want have fill in title each message.
i found piece of code in jambook.class.php:
function check() {
if ( trim( $this->title ) == '' ) {
$this->_error = _jx_err_notitle;
return false;
}
if ( trim( $this->content ) == '' ) {
$this->_error = _jx_err_nocontent;
return false;
}
if ( trim( $this->email ) && !checkemailjx( $this->email ) ) {
$this->_error = _jx_err_emailinvalid;
return false;
}
return true;
}
so thought deleting title piece solution, didn't help.
does have idea do?
i'm using jambook, don't want have fill in title each message.
i found piece of code in jambook.class.php:
function check() {
if ( trim( $this->title ) == '' ) {
$this->_error = _jx_err_notitle;
return false;
}
if ( trim( $this->content ) == '' ) {
$this->_error = _jx_err_nocontent;
return false;
}
if ( trim( $this->email ) && !checkemailjx( $this->email ) ) {
$this->_error = _jx_err_emailinvalid;
return false;
}
return true;
}
so thought deleting title piece solution, didn't help.
does have idea do?
Comments
Post a Comment