This topic is locked

buttons? member in multiple groups?

10/21/2008 10:07:07 PM
PHPRunner General questions
C
canalrun author

Hello,

I just started evaluating phpr. I've looked through the docs and manuals, but I cannot find some basic functions which I think are a requirement for my app.
I will be creating a web app for our reps to generate license keys for customers. 1) the rep logs in 2) logging in restricts them to membership to one or several product groups. It also brings up their code history and key gen allowances. 3) They select which product to gen a key for. 4) Enter cust name and hardware serial number. 5) Press a button ??? to invoke custom php code which gens a license key based on name, product and hardware serial. The key and transaction data are also written to a journal table.
Step 5 has me worried. Is it possible to have a user input "button" that triggers an event to run code, update fields, etc.
Correct me if I am wrong, but the rest looks very straight-forward. I saw in the tricks section someone inquired about belonging to multiple groups. I did not catch the date on that trick. I hope it is easily possible with the newer releases.
Thanks,

Barry.

A
alang 10/22/2008

Step 5 has me worried. Is it possible to have a user input "button" that triggers an event to run code, update fields, etc.


This is reasonably straightforward - you can create your own button or "hijack" one of the standard buttons you don't need. Need to dig into the visual code and then be able to do a bit of custom PHP code in the events.