Lee,
In the end, I found a solution that just required an edit of the doSubmit() function:
function doSubmit()
{
document.forms["TheForm"].submit();
}
That did the trick and I didn't need to change anything else.
Thanks again for your help.
Lee,
Firebug, shows the following error relating to the external .js file if this is any help:
document has no properties
switchImage("submit", "submit5")rollover.js (line 27)
onmouseover(mouseover clientX=0, clientY=0)sbx_request.php (line 1)
[Break on this error] document.src =...
Lee,
That has worked in that the form is now being processed correctly, thankyou. But unfortunately it has disabled the button rollovers! Do you have any thoughts on how I might fix this?
Thanks again.
Thanks for your help, Tamar and Dave.
You'll have to excuse my ignorance here. I presume the commands work fine under the Unix 2.6 version and that the commands have to be run after FoxPro has been launched from the command line?
If my assumptions are correct, how do I launch FoxPro from the...
Thanks for your replies, cLFlaVA and trollacious.
In answer to the first response, if I didn't have to use rollover image buttons there wouldn't be a problem as a standard html submit works fine, but that is not an option.
If I replace the javascript submit button code:
<a...
I wonder if anyone could explain how I pass the field values in my request form to the PHP processor page. My doSubmit() function is as follows:
function doSubmit() {
self.focus() #Not sure whether I need this line...
Dave,
Thanks for your reply. OK, so I need to find out what fields are used to generate the required report. Then how do I go about doing what you have suggested? Please bear in mind that although I have done some database work I have never used FoxPro 2.6 (Unix) before.
Thanks again.
Does anyone known if there are any guidelines for running reports from the command line under FoxPro 2.6 Unix and for exporting the report out to a .csv file?
I'm trying to automate a task that will automatically upload data to a customer's website.
Thanks in advance for any assistance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.