Hi
I'm trying to edit a from that someone else did, that sends the input throught email (cdo). I've added a new text field to the from but when I submit the field is not included. should I bind it to the form in some way ?
Dror Givoli.
I think the code was automatically generated, but it goes like this:
If FormFields <> "" Then
For Each item In arrFormFields
BodyString = BodyString & item & ": " & Request.Form(item) & chr(13)
Next
End If
objCDO.Body = BodyString
If DW built the function it would normally update it. Sometimes you have to open the behaviour to add the aditional fields though.
If you have a page with an Insert/Update record behaviour attached all set up and working. Then added a new form field to the page you would have to add the new form element to the Insert/Update behaviour, otherwise dw doesn't know what you want to do with the contents.
Hope that explains it a bit.
Cheech [Peace][Pipe]
The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.