I have been racking my brain trying to figure out how to get something to work with a form.
This is the form that is going to be used..
<cfform action="Insert.cfm" name="Create" target="_blank">
from this it should open the insert.cfm as I have a report to open at the end of insert page. This works fine.
<cfreport format="pdf" template="Detail_Printable.cfm" query="Qdetail">
But I have a problem with the form. I need it to refresh as I dont want the user to have the option of submitting the form again, with out the new data being available.
Hope that makes sense.
I have tried this Java on the opened page (_blank)
but it does not seem to work at all.. Doesnt even try to refresh the original page.
Just to try and clarify my problem a little.
I have 2 pages.
Original Page 1, this is the one with the Form on it.
Insert and Document Page 2.
SO when a user clicks on the submit button on page 1 it opens page 2 and does an insert and then rolls to a report..
But when this happens I need the Original Page one to refresh.
If you get to to the point of writing some code and need help with it, then post back. But you should be able to solve all this with Google and rolling up your sleeves ;-)