"Injecting" forms with Ajax

Hi Walter,
Joe Billings at support[at]softpress.com replied:
“…This is a bug in the Italian localisation that I have now logged.…”.
Thanks to all of you for helping.

Umberto


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This is in regards to validation. The form injection works as
expected (handler: Tim’s Feedback Form action) but the fields are not
being validated (using the validation action). Is this expected
behavior given the injection method and the form processor?

Todd


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If the validation is done in javascript, then it will be lost when you cut the page down for injection. If it’s done in php, then you will have to make sure that the form submits to the handler correctly. When you chop things up in this manner, it’s not always clear what’s pointing where.

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’m using the validation action suite so it’s javascript. So basically I’m out of luck with using the action to validate in this situation. The form handler/validation needs to be kept as simple as possible in order for the site owner to manage it (so php is out) while maintaining at least some degree of spam prevention and I thought this would be a good route because it was free which was the preferred option of the client.

Todd

On Jun 18, 2008, at 5:04 PM, waltd wrote:

If the validation is done in javascript, then it will be lost when you cut the page down for injection. If it’s done in php, then you will have to make sure that the form submits to the handler correctly. When you chop things up in this manner, it’s not always clear what’s pointing where.

Would it be possible to add the javascript validation to the page that is injected with the form? Manually?

David


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Try adding the validation to the form, publishing it, then using copy and paste (into the Page/Html Markup/before /head) to put it into the parent page.

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter I will try that.

David


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options