This topic is locked

Button link depending on URL Parameter

3/7/2024 5:35:07 AM
PHPRunner General questions
Y
Yoann author

Hi,

For the same table I have 2 add forms. One is offering to select a field with a Lookup Wizard, the other one is selecting this field with a URL parameter. The forms are working good but I need after those forms a button to offer people to fill the form again and I would like this button to include the URL parameter. I manage to redirect to another page with URL parameter if existing but I've no Idea how to edit the custom button depending if there is an URL parameter.

Does someone have an idea ?

Best regards

M
Mark Kramer 3/7/2024

In a nut shell, "Buttons" can be 3 parts as described in the link below. First part "Jscript" is executed on the local machine . Second part "PHP" on the hosting server side then the third part is local again.

https://xlinesoft.com/phprunner/docs/tri-part_events.htm

There are some good videos out there by Cory like this one here https://www.youtube.com/watch?v=OgRXrzovYJc

Hope this puts you in the right direction.