My code is a little different then yours and am not sure if your
method will fix my problem.  My gadget had been working, and it just
recently stopped.  I do not think that I made any changes to code.  In
addition, I tested it today in the online editor on google's website,
and it appears to work.  But on my site, it gives the error message
"Missing or malformed url parameter" when I click a search button (the
gadget is an engine).  I wish I could contact someone at google for
help, but can't figure out how to contact them directly.

If anyone can help me, I would like to show you the engine and let me
know if you can figure out the problem.


On Jul 31, 11:19 am, jmcg <[email protected]> wrote:
> Obviously no one else cares but I found a solution to this so I
> thought I'd post it:
>
> Below is a modified version of the example code shown on this page
> (http://code.google.com/apis/gadgets/docs/ui.html)
>
> The example shows how to add to a To Do or Grocery list
> When the user hits enter / return instead of clicking on the add
> button
> the app errors with:"Missingormalformedurlparameter"
>
> By modifying the form to xhtml instead of html4 and adding a
> javascript void
> function to the forms Actionparameterthe app no longer throws this
> error.
>
> here's the modified form code:
>   <form name="myform" id="myform" action="javascript:void(0);"
> method="GET"><br/>
>   <input type="text" name="inputbox" id="inputbox" value="" />
>   <input type="button" id="button" name="button" value="Add"
> onClick="addToList(this.form)" />
>   <input type="button" id="button2" name="button2" value="Clear"
> onClick="clearList(this.form)" />
>   </form>
>
> Thanks
> JMcG
>
> On 28 July, 15:16, jmcg <[email protected]> wrote:
>
>
>
> > Firstly, apologies if this has been asked before, I did search but
> > found 0 results.
>
> > I'm having problems with a user input form,
> > if the user fills in the input textbox and clicks the button in the
> > form the gadget works and pulls the information required.
> > if the user fills in the input textbox and presses the enter key they
> > see this error
> >  "Missingormalformedurlparameter".
>
> > This also happens using the example "Grocery List Gadget" on this page
> > -http://code.google.com/apis/gadgets/docs/ui.html
>
> > I get the same error using both Firefox v3.5.1 and Internet Explorer
> > 7.0.5730.13 on a
> > Windows XP Professional Edition Service Pack 3 machine.
>
> > Any suggested workarounds would be greatly appreciated.
>
> > JMcG- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to