Add extra css Class to $Page->FormClassName

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wunganayi
User
Posts: 19

Add extra css Class to $Page->FormClassName

Post by wunganayi »

I want to add extra class container to $Page->FormClassName - is there a function to set that? How can I modify $Page->FormClassName?

Currently if give ew-form ew-add-form ew-horizontal container


mobhar
User
Posts: 11717

Post by mobhar »

If you want to add or append your css class name to the existing one (in Page_Load server event), then you may simply try:

$this->FormClassName .= ' your-css-class-name'; // adjust your-css-class-name to your actual css class name


wunganayi
User
Posts: 19

Post by wunganayi »

Thank you - works perfectly!


Post Reply