on page load, to default to the previously saved data... <option value="nothing" <cfif form.choice eq 'nothing'>selected="selected"</cfif>>Choose >From Below</option> and <input type="radio" name="pagetype" value="notapplicable" <cfif form.pagetype eq 'notapplicable'>checked="checked"</cfif> />Not Applicable
if, however, you are having a problem where this isn't working for you, then you probably are experiencing 'persistent form choices'. This would not be a problem with the code, but with the local browser. best way to reload the defaults would be to hold down the 'ctrl' button and press the 'f5' button. This will do a 'hard refresh' of the browser, hopefully erasing any persisting data selections. William ---------- William E. Seiter On May 27, 2010, Phillip Perry <[email protected]> wrote: Hi, I am making a form and I would like to have the user review the form answers before it gets sent to the processing template. I know how to populate all the other things but the drop down list and the radio buttons are confusing me. It's been a while since I used CF for this so I forget. Below is the select and radio button form fields: <select name="choice" class="baco"> <option value="nothing" selected="selected">Choose >From Below</option> <option value="clothes">Clothing Store</option> <option value="sports">Sporting Goods Store</option> <option value="hobbies">Hobby Shop</option> <option value="computers">Computer Related Sales</option> <option value="medical">Medical Profession</option> <option value="foods">Grocery Store</option> <option value="publication">Printed Publications</option> <option value="accounting">Accounting Firm</option> <option value="utility">Utilities Company</option> <option value="others">Other</option> </select> <input type="radio" name="pagetype" value="personal" />Personal <input type="radio" name="pagetype" value="business" />Business <input type="radio" name="pagetype" value="notapplicable" checked="checked" />Not Applicable How do I make these 2 selected/checked when the user submits the form? Thanks for the help. Phil ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:334038 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

