> Can anyone see what is wrong with this wml code: > > <cfcontent type="text/vnd.wap.wml"> > <?xml version="1.0"?> > <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" > "http://www.wapform.org/DTD/wml_2.1.xml"> > <wml> > <!-- WML Headers --> > <head> > <cfinclude template="no_cache.cfm"> > </head> > > <card id="worldcupfantasyfooty"> > <do type="prev" label="Back"> > <prev/> > </do> > > <onevent type="onenterforward"> > <refresh> > <setvar name="team1" value="1" /> > </refresh> > </onevent> > > <p> > team1: $(team1) > </p> > </card> > </wml> > > It doesn't like the onevent bit - says the child tag is > incorrect (the refresh). If I comment out the onevent > stuff the variable is outputted correctly.....
That looks fine to me - when you say "it" doesn't like the onevent tag, what is it, exactly? Is your WML page accessible on the public web now? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

