Multi-Line text fields on web-enabled forms using a web service

J

jl

I've run into a problem with multi-line text fields.
Here's what i'm trying to do:

Anonymous user fills out web enabled form, form is submitted to web
service, web service saves data to form library on a public site.

Process comes along, picks up form, copies it to a private site.

Form is processed on private site.


So far, this was working. the process that copies the form to the
private server would also re-write the XSN location to a XSN on the
private server, so it thinks it came from there. The public and
private XSN's are the same, so no problems.

The problem i have is with multi line text fields. Either a textbox
setup as multi-line, or a Rich text box.

The rich text box breaks when submitted via web service, but only when
the user actually types in data that is more than one line. (but not
if just saved to the library, even though the files are exactly the
same)

So, solution, use multi-line text box fields! This presents a new
problem. The form is also setup to send itself as an email, and this
part fails if i have a multi-line text box field.



So the problem is:
multi-line text box fields fail when i try to email the form
Rich text fields fail if they are submitted via a web service and
have more than one line of data.




As a side note, Why have web enabled forms, if having anonymous
submission is not possible? From what I've found, you can build a web
service to do the work, but it's a big pain in the butt.



Any help with the multi-line fields would be a big help!

I may just have my web serivce strip out the multi-line formatting
that is causing problems on the rich text box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top