Hmmm, that works for me. What's probably happening is that you have broken javascript somewhere, stopping the javascript on your page. Without javascript, buttons revert to their default behaviour which is to submit their enclosing form.
add onsubmit="return false;" to your form, and then try clicking the button with firebug or the javascript console running. You should see a javascript error. Cut & paste that error and backtrace into an email. thanks, Bryan On Wed, Jan 11, 2012 at 11:49 AM, Bob Sleys <[email protected]> wrote: > Ok I guess I'm being confusing and I sorry for that. Let me try it a > different way. > > If I have the following dryml > > <extend tag="form" for="LocationMaterial"> > <old-form merge> > <field-list: fields="material, condition, potential, friable, > percent_damage, accessible, quantity, unit, notes"> > <material-view:> > <dialog-box id="hello-dialog"> > Hello! > </dialog-box> > <dialog-open-button dialog="#hello-dialog"> > Press Me! > </dialog-open-button> > </material-view:> > </field-list:> > </old-form> > </extend> > > When I click the Press Me! button to display the hello-dialog the dialog > popups up but the form is also submitted as if I had clicked the save button > at the bottom of the form. Pressing the button should only display the > popup not submit the form. > > Bob > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/hobousers/-/YojYJRskYu0J. > > 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/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
