Using POST action in an html form

Hi, i made an html form with the action parameter containing the url for an agent.

I also created a button for submitting the form.

The problem is that the action seems to be ignored since all i get clicking the button is a “form processed” message.

What could be the problem?

Is there any setting i have to check on my server?

Subject: Using POST action in an html form.

Make sure that the form you are submitting is the one that posts to the agent (check the HTML source at the browser). If you are using document.forms[0].submit(), you are probably submitting a Domino form (not your HTML form).

Subject: RE: Using POST action in an html form.

Thanks! I think that’s really the problem… i’m a beginner in javascript… so how am i supposed to reference my Html form?

My html form is called “myHtmlForm” and it’s in a lotus form called “Cart” that is in a Frame Called “EntranceContent”.

i tried with this.form.submit() (the button is within the form) and also with document.myHtmlForm.submit() but i had the same “form processed” (entire lotus form is submitted).

I know maybe is something stupid… but i’ll really thank you for help!!

Subject: RE: Using POST action in an html form.

Let’s start with the HTML. First, you need to make sure that the Domino form has been completed before your form starts (Domino will generate a tag even in read mode). Start, then, with:

**** Form Contents ****

The final pair is just there to make sure that there are no unintended contents when the form is submitted or validated. You can submit the form using either a submit button () or by using JavaScript:

document.forms[‘myHtmlForm’].submit() OR document.forms[1].submit()

Subject: RE: Using POST action in an html form.

Great!!! Finally it works!!! I’m now jumping everywhere in the office shouting “YESSSS!!” …

Thanks.