Hello,
I have this question: I want to build a button in the list page (on every row) which call a php script.
- in ListPage:After Record Processed i declare my key-field ==> $record["rg_link"]=$data["RGK_NR"] ;
- in Visual Editor I insert a button(right mouse - insert button), in the client before ==> onclick="window.location.href='mt_pdf_rechnungen/mt_rechnung.php?id={$rg_link}';"
- the button is viewable, but on click - nothing happens ==> what is wrong?
Alternative:
- in ListPage:After Record Processed i declare my key-field ==> $record["rg_link"]=$data["RGK_NR"] ;
- in VisualEditor/HTML-Mode ==> <TD> <INPUT onclick="window.location.href='mt_pdf_rechnungen/mt_rechnung.php?id={$rg_link}';" value=PDF type=button></TD>
- the button is viewable and the PHP-script runs perfect, but I would like to work with the PHPR-options (INSERT-BUTTON) - see above.
Many thanks for your help and a happy new year !!!
Michael