October 25, 200223 yr I've sorted through the forum for an answer to this problem but have not found it...if this is a faq i apologize.. very simple...adding a new record with one field only (see below)...I click submit and encounter the ubiquitious Error 4. When I click the back button to return to the initial screen and click submit again, the -new request works fine and the correct format page is returned. Any thoughts... <html> <body> <h3>Enter Date Below</h3> <form action = "FMPro" method = "post"> <input type = "hidden" name = "-db" value = "Calendar.fp5"> <input type = "hidden" name = "-lay" value = "Pressroom"> <input type = "hidden" name = "-format" value = "pr results.html"> <p> <input type = "date" name = "todays date" value = ""> <input type = "submit" name = "-new" value = "Enter"> </p> </form> </body> </html>
October 26, 200223 yr I think the spaces in the names of the field and the format file may be causing problems. You could also try adding this line to the form: <input type="hidden" name="-new"> Also spaces are usually not in the assignments of the form tags, e.g.: <form action="FMPro" method="post> The date will use a "text" input type, e.g.: <input type="text" name="todaysdate" value=""> Good Luck. Garry
October 28, 200223 yr Author Garry....additing <input type = "hidden" name = "-new"> seems to have done the trick....thanks pc
Create an account or sign in to comment