I am create two table:
- Organization (main)
- Phone (child table)
Create table link properties:
Display child record on
[*] ADD PAGE
Add for Organization in table events BeforeAdd:
echo "Your message here";
if ( 1 == 1 ) {
$message = '<div class="message mes_not">my message</div>';
return false;
}
return true;
but when I open the form adding the organization, then when you click the add button «my message» is not displayed.
if delete [*] for ADD PAGE in table link properties - message is displayed.
WHY?
p.s. sorry for my english