Bug in control application

I make a control application and put one field on it since you cant mae a control without a field. Then I hide the field and generate the source code. Then when I try to run the control called executePeoplesoft I get:
Fatal error: Call to undefined function sajax_init() in C:\Program Files (x86)\NetMake\v71\wwwroot\scriptcase\app\RugMutPers\ExecutePeoplesoft\ExecutePeoplesoft.php on line 1455

When I check the code indeed there is no such function found. Apparently a control doesnt work if there is no field visible…

Why do I do this?
-Simple because when I use a php button I can change a field nor get do display an error properly.
-when I use a blank app I cant make it popup using a php button
-when I use a javascript button I cant find a way to call a php function (tho I know it should be possible using sajax).

So how to I call a php function in scriptcase from a javascript button?

As a workaround create an extra empty label field that stays visible - but you can’t see anything as it’s empty.

Then you can hide (or not) the “real” field - because there is still one"visible field"

That is a nice one I didnt immediately think of…

Hello,

Issue reported to our bugs team.

regards,
Bernhard Bernsmann