[SOLVED] Emailing selected records including document as attachment |
9/24/2013 11:11:55 AM |
PHPRunner General questions | |
J
jasonfrew author
Hi Everyone, |
|
C
|
cgphp 9/24/2013 |
Check this manual page http://xlinesoft.com/phprunner/docs/runner_mail_function.htm |
J
|
jasonfrew author 9/24/2013 |
Check this manual page http://xlinesoft.com/phprunner/docs/runner_mail_function.htm You can find several examples at the bottom of the page.
|
C
|
cgphp 9/24/2013 |
You don't need to fecth records from the database manually if you have selected the records on the list page. $button->getNextSelectedRecord()
|
J
|
jasonfrew author 9/24/2013 |
You don't need to fecth records from the database manually if you have selected the records on the list page. Check the example 2 on this page: http://xlinesoft.com/phprunner/docs/inserting_button.htm $button->getNextSelectedRecord()
|
C
|
cgphp 9/24/2013 |
You can ask the user to enter a text string with a prompt box. Check the prompt tutorial on this page http://www.w3schools.com/js/js_popup.asp |
J
|
jasonfrew author 9/25/2013 |
You can ask the user to enter a text string with a prompt box. Check the prompt tutorial on this page http://www.w3schools.com/js/js_popup.asp You can fetch file records from database using the CustomQuery method http://xlinesoft.com/phprunner/docs/customquery.htm
|
C
|
cgphp 9/25/2013 |
Check the manual page of the button http://xlinesoft.com/phprunner/docs/inserting_button.htm ctrl.setEnabled();
alert("Mail sent successfully");
|
J
|
jasonfrew author 9/25/2013 |
Check the manual page of the button http://xlinesoft.com/phprunner/docs/inserting_button.htm A sample code for your case: Client before ctrl.setEnabled();
alert("Mail sent successfully");
|
J
|
jasonfrew author 9/25/2013 |
Thanks Cristian. Im very rusty with PHPRunner. ive not developed a project with it in quite some time.
|
C
|
cgphp 9/25/2013 | ||||||||
Check the yellow part of the button window (
|