So i have a webviewer that pulls in a php page i had built that uses html 5 audio player. It works great. I click a button in filemaker and if the audio exists on our server it plays in webdirect through the webviewer. If the audio doesnt exists the php file echos back "Error: Invalid Path" or whatever i have the PHP file coded to do. In my FM script i have it coded so that if the GetLayoutObjectAttribute ( "login" ; "content" ) gets the Error message echoed back from the php file and i can see it visually and i set it in a dialog box to show me the error if i get an error message echoed back.

Now in the client it works great with no issues but if i view all that in webdirect then what i see echo back in the webviewer is infact the error message i want but the GetLayoutObjectAttribute ( "login" ; "content" ) script step that suppose to get the content of the webviewer is infact giving me the url instead. So in client it gives me the error message but in webdirect it gives me the url which i dont want cause it doesnt give me the message i wanna return to the user.

Why is that? And is there a way to get around that or is it a bug or what?

Powered by WPeMatico