see the part of your page that you are replacing with Ajax.Updater.
Second of all, your update is being done in the document.observe('dom:loaded'... method, which i have lately learned
is sometimes problematic in Windows browsers. Try changing that call
to Event.observe(window, 'load'... and see if that fixes it for the
Easy to fix, then. Click on the top Function Body button. Select everything in the dialog that pops open, then okay it (to empty it). Now click on the bottom Function Body button, and Paste. Publish and test.
Sorry, you just need to move the code from the top Function Body to
the bottom one. The code isn’t supposed to be missing entirely, just
moved into the later function call where IE has a chance of seeing it.
I see a problem here. You have a form inside another form. Either
apply the Remove Form action to the outer page (Multiple Form Suite)
or use the very latest TemplateHelper Action to cut the form out of
the page you’re adding it to. I added some form cleverness to the
Action earlier this week.
On Mar 13, 2009, at 9:46 PM, kitesurfer3 wrote:
What I moved from the first Function Body to the second one is:
That’s a fine idea, I may even have been the one who recommended it to
Try these steps.
Set up the form on your page, get PHP Feedback Form working on it,
everything just so, all in one page.
Draw an HTML box entirely surrounding the form area. Use Send to
Back to send it to the back of the page “stack”. Leave this box
selected (handles showing) so you can spot it in the list of page
Click on the top of the Site pane to switch it to Page view. Your
newly-drawn box should be highlighted in the list. Make note of its
name and position in the list.
Hold the Shift key down, and click and drag a selection around the
entire form. (Since the HTML box you drew in step 2 was already
selected, shift-dragging will deselect it, which is what we want.)
In the Site pane (which is still in Page view, I guess that makes
it the Page pane) click and drag on any of the highlighted elements
(they will all move as a group) and pull that entire group up and
beneath the item you noted in step 3. When you get the cursor near
that item, drag to the right a bit. You should see an underline and a
bold highlight appear on the parent item. When you see that, release
the mouse. The dragged elements should not move on screen, but they
have just become “child” elements of the item you drew in step 2.
Apply the TemplateHelper to the form. (Make sure you get the latest
version from ActionsForge – this whole business with forms is quite
new.) Set TH to make an HTML partial.
Draw another box the same size or slightly larger than the one from
step 2 to accept the partial, send it to back, and note its name.
Back in Protaculous, adjust your code so that the form partial is
inserted into the box from step 7.
This should do what you’re trying to do.
On Mar 13, 2009, at 10:24 PM, kitesurfer3 wrote:
I am not trying to do the "no-refresh form” effect
To avoid spam on my form I was suggested to have 2 pages, 1 with the
actual form and the PHP Make Insert Page action, the second one
empty with the Protaculous action.
I don’t understand how it works, but isn’t :
“a form inside another form” the product of those 2 actions?