gumaction Posted May 8, 2002 Posted May 8, 2002 Hi, can anyone help me on this one? I have a search page that send to the results page by using a form. the search page looks something like this: <form name="form[FMP-currentrecid]" action="FMPro?" method="Post"> <input type="hidden" name="-db" value="-db1"> <input type="hidden" name="-lay" value="web"> <input type="hidden" name="-format" value="b_rslts.html"> <input type="hidden" name="-token.1" value="[FMP-currenttoken:1]"> <input type="hidden" name="-token.2" value="[FMP-currenttoken:2]"> <input type="hidden" name="-token.3" value="[FMP-currenttoken:3]"> <input type="hidden" name="-token.4" value="[FMP-currenttoken:4]"> <input type="hidden" name="-token.5" value="[FMP-currentrecid]"> <input type="hidden" name="-op" value="eq"> <input type="hidden" name="Model" value="[FMP-field:modkey]"> <input type="hidden" name="-error" value="s_err.html"> <input type="hidden" name="-sortfield" value="misc"> <input type="hidden" name="-sortorder" value="Ascending"> <input type="hidden" name="image status" value="Online"> <input type="hidden" name="-Max" value="3"> <input type="hidden" name="-find"> </form> The first three results are returned fine. When you go to the next three results it brings up and error of unexpected end of file... Having looked at the URL in the address bar - if I remove an = that has been put after the -find the query works, likewise if I delete a few of the search criteria. Is there a maximum length url that the browsers can handle? the url is included. http://www.mywebsite.com/vxn/FMPro?-db=vxnmedia&-format=b%5frslts.html&-lay=web&-sortfield=misc&-op=eq&Model=New%20Vectra%20Club%202002%20Edition%201&image%20status=Online&-max=3&-skip=6&-token.1=00071&-token.2=X&-token.3=33372&-token.4=C&-token.5=32890&-find= The problem is worse on the PC than it is on the Mac Any ideas??? I haven't got any hair left to pull out!
Anatoli Posted May 9, 2002 Posted May 9, 2002 I do not know about any problem with length of URL. Why do you have the "form[FMP-currentrecid]" there?
gumaction Posted May 9, 2002 Author Posted May 9, 2002 I have form[FMP-currentrecid] because it is a repeating form across the page - and the recid makes it a unique form name. otherwise all the forms would have the same name. - could the use of recid be the problem?
Anatoli Posted May 9, 2002 Posted May 9, 2002 I see. If you are using multiple forms, do check first the HTML code on your page. Are all forms in HTML started and closed before another form start? In sense like there shouldn
Recommended Posts
This topic is 8225 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 accountSign in
Already have an account? Sign in here.
Sign In Now