"matthew stuart" <[email protected]> wrote in message
It's PD html editor that I have used - an extention from the dreamweaver
The save button sends the contents of the editor pane to the hidden text
field. This then only gets submitted with the rest of the other fields
submit form button is clicked. So there are two clicks that need to be
save click and a submit form click. The trouble is if the user doesn't
save first, then the hidden text field doesn't have content to submit to
db, thus undoing all of their hard work in the editor pane. So, I would
some method of being able to prevent users from loosing their editor
I did try to use the onclick="OnFormSubmit()"; to send the whole form, but
Here's a url:
It's a bit messy at the mo' but you get the idea.
It's been a while since I used PD Editor, if memory serves me right you had
to put "copyValue()" in the form's onSubmit attribute to automatically copy
the PD-editor's content to a hidden text-field when the form is submitted.