That's the cf (pre-compiled) code. I want the source of what cf generates and sends to the browser.
On Thu, Sep 30, 2010 at 7:59 AM, John Pullam <[email protected]>wrote: > > You may have to lead me into what exactly you'd like to see, but here is > what I have coded and I'll be happy to view source and get you something > else ... > > There are any number of pages that could force a login, and the do it from > this sequence: > > <a > href="javascript:ColdFusion.Window.show('Login');ColdFusion.navigate('../MemberLogin.cfm','Login');"> > <b>Members Only</b></a> > > The login processor does some server stuff and then shows the form: > > <div id="LoginDiv"> > <cfif LoginMsg> > <p>Please identify yourself, then press "Submit"</p> > <cfelse> > <p class="errormsg">Incorrect Access ID or Password. Please try > again.</p></cfif> > <cfoutput> > <cfform name="LoginForm"> > <table id="LoginBox"> > <tr height="21"> > <td width="100"><b>Access ID</b></td> > <td width="100"><cfinput name="AccessID" validate="range" > range="1000,4999" value="#DefAccessID#" size="8" ID="AccessID" > required="yes" message="A valid Access ID is required" > /></td> > </tr> > <tr height="21"> > <td><b>Password</b></td> > <td><cfinput name="Password" type="password" > value="#DefPassword#" size="8" required="Yes" > message="A password is required" /></td> > </tr> > <tr height="21"> > <td colspan="2"><span class="fineprint">Remember me on this > computer</span> > <cfset checked=IIf(DefRemember EQ "Yes","'checked'","''")> > <input type="checkbox" name="Remember" value="Yes" > #checked#></td> > </tr> > </table> > <cfinput name="Submit" type="image" value="Submit" > src="../Buttons/MSubmit.png" /> > </cfform> > </cfoutput></div> > <cfset AjaxOnLoad('LoginInit')> > </cfif> > > The LoginInit function is: > > function LoginInit() { > document.LoginForm.AccessID.focus(); > // document.getElementById("AccessID").focus(); > } > > What else can I show you? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337682 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

