close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Saving Complex forms into a DB?

Thread begun 5/07/2012 12:28 pm by Peterson Design Studio - jefferis | Last modified 5/08/2012 11:19 am by Jason Byrnes | 1357 views | 5 replies |

Peterson Design Studio - jefferis

Saving Complex forms into a DB?

Hi folks,
I am creating a very complex form for a custom jewelry order request (OrderForm.php) I have UniversalEmail 4 and DataAssist. I'm looking for a tutorial or info on how to save the customer info into a database upon submit. Since this form is larger than the basic contact sheets, I was wondering if UE can handle this and if so, how...
Thanks
Jeff

Sign in to reply to this post

Jason ByrnesWebAssist

Storing this form into the database will be no different than storing any other form to the database.

You will need a column in the database table for each for element, and in the insert record behavior, bind each database column to the appropriate form element.

As far as emailing the form or storing it to a database, this is really not that complex a form.


About the only issue i can see is with the image upload. You have 4 file fields, so will need to have 4 image upload behaviors. it is possible that the selected images to upload can exceed the server post max size or cause the form submit to take longer than the max execution time settings.

see this page for details on php settings to be aware of with large uploads:
wap_upload.asp?page=php2

Sign in to reply to this post

Peterson Design Studio - jefferis

Does the Image processor work post Posting?

Hi Jason. I can limit the image sizes to under 1 meg each, but was thinking of using the image processor feature (which extension does that? I'm probably upgrading to the New Data group and I have Design Extender) to compress them if larger, but I am wondering if that processing happens while the form is being submitted rather than afterwards.

BTW, I don't want to store the images, just pass them along in the email...
Jeff

Sign in to reply to this post

Jason ByrnesWebAssist

the upload behavior has a resize option to it, and there is also image resizer, both in data Bridge.

"to compress them if larger"

the problem with this is that need to be uploaded to the server before they can be compressed, so compressing them does not prevent the files from uploading if they are to big.


see the Archived documentation section of the Universal Email support page for a tutorial on attaching files in Universal Email.

Sign in to reply to this post

Peterson Design Studio - jefferis

I use a javascript to limit the initial size. I saw in Databridge to option to have a Wait icon pop up while loading. Is that part of UE or just the new DB? I started creating the form and UE connections before DB came out.

Sign in to reply to this post

Jason ByrnesWebAssist

the progress bar is included as part of Universal Email 4.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...