Hi Skrol29,
Sorry to come up with another. >_<
I'm trying to say "Disable this field if either a or b is set".
$tbs = new clsTinyButStrong();
$tbs->Source = '<input value="" /> [data.a; noerr; att=input#disabled; atttrue] [data.b; noerr; att=input#disabled; atttrue] ';
$tbs->MergeField( 'data', [ 'a' => 0, 'b' => 0 ] );
$tbs->Show(); |
It gives me "Notice: Undefined property: clsTbsLocator::$AttName in tbs_class.php on line 1492".
The notice goes away if the two tag's att are different, or if I remove one of them, but stays if I keep both and move one or both tag before <input>.
I'm on TBS 3.9.0 for PHP 5, PHP version is 5.3 or 5.4.