Jump to content

This topic is 8131 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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>

Posted

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

This topic is 8131 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.