Modal Window with Custom Input

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

Modal Window with Custom Input

Post by kaldiris »

Hi.
I New in PHPMaker 2020, and sory my english.

I have many PDF´s list in grid.

I Need create a modal window and get 2 parameters.... Name and E-mail... and send to select registrs/pdfs in previos Grid to e-mail get in ModalWindow

I try this way...I create a button with:
function Page_Load()
{
$this->CustomActions["starb"] = new ListAction("starb", " Enviar ", IsLoggedIn(), ACTION_POSTBACK,ACTION_MULTIPLE, "Enviar agora ?","fa fa-star ew-icon");
}

I don´t make this part...
I like to open a Modal Window, get a e-mail and name... and pass data to EMail_Sender() ajust destination...

Row_CustomAction($action, $row)
{
work with select regs in prev grid, and send e-mail to destination get in Modal Window.
This part work fine...
but distination e-mail fixed in code.
}

Anybody have an exemple or tip to create this ?

Thanks.


mobhar
User
Posts: 11745

Post by mobhar »

kaldiris wrote:
but distination e-mail fixed in code.

Please post your code regarding this "destination email" for more discussion.


Post Reply