close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Insert New Record for each new line in textbox

Thread began 11/02/2011 12:35 pm by dave315749 | Last modified 11/07/2011 1:15 pm by Jason Byrnes | 710 views | 3 replies |

dave315749

Insert New Record for each new line in textbox

Looking for information on how to have a list of items in a text area box like

option1
option2
option3
option4

And then once i click "insert" it will make 4 separate rows in the database.

How would i accomplish this with dataassist?

Sign in to reply to this post

Jason ByrnesWebAssist

this is not possible to do with one text area.

create 4 text boxes, and use the Data Assist Insert Multple behavior to insert a record for each one.

Sign in to reply to this post

dave315749

more than 4

Well i need to put in like 45 to 100 lines or records, not just 4, that was for an example only.

So is there a way to do it in one text box via javascript and an array?

Sign in to reply to this post

Jason ByrnesWebAssist

this would take hand coding to accomplish and is not supported by our extensions.


you would need to hand code logic to create an SQL insert statement each time it found a return in the text box POST.

If you need assistance with this, we could probably help you in a premiere support ticket.

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...