MyDoPost not being called

Discussion to talk about software related topics only.
Post Reply
BMillikan
Posts: 14
Joined: Thu Dec 23, 2010 7:56 am

MyDoPost not being called

Post by BMillikan »

I have a form on a web page with some other simple HTML elements and a dynamically updated page from the Netburner board. When I press the submit button on my page, the page updates but the function is not getting called. I have verified that the SetNewPostHandler() is getting called. Has anyone else run into a problem like this?

Brian
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Re: MyDoPost not being called

Post by greengene »

probably easiest if you post your html page rather than us guessing what is in it.
first guess: on form, is "method=post"?
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: MyDoPost not being called

Post by rnixon »

I don't think the post handler has anything to do with a function getting called if you use the FUNCTIONCALL tag. If you are trying to call a function from a post handler, you normally need to parse the post data and call your function if appropriate. Not really enough info in your question to narrow it down.
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Re: MyDoPost not being called

Post by greengene »

well, depends which "the function" is being talked about.
BMillikan
Posts: 14
Joined: Thu Dec 23, 2010 7:56 am

Re: MyDoPost not being called

Post by BMillikan »

Yes, the method="post" was the solution. I forgot to add that to the HTML tags. It was apparently defaulting to the GET method.
Post Reply