Expand my Community achievements bar.

Fragment works standalone but not when inserted in a form

Avatar

Level 4
I have a search fragment. When I open the fragment and click "Preview" in designer. I click on the "search" button, and it executes a web service that retrieves info from a database and displays it into a table. Everything is working beautifully. The fragment is set to Interactive, and Dynamic XML form.



I now create a new form and I insert this search fragment into the form. This form is also set to Interactive, and Dynamic XML form. Now, when I click on the "search" button, all of the javascript behind the button executes (i.e. my messageBox debugging messages) but the web service that retrieves the database info doesn't seem to execute.



What am I missing? I'm perplexed as to why the fragment works stand-alone but doesn't want to work when incorporated into a parent form.



Any ideas?
14 Replies