close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

multiple insert from form values

Thread began 4/07/2015 12:13 pm by Sweens | Last modified 4/09/2015 2:12 pm by Ray Borduin | 1755 views | 4 replies |

Sweens

multiple insert from form values

Hi Jason

I've created a 'poll' page that has nested repeat regions and radio buttons for each answer id.

I've managed to get it so that the form appears to work, in that you can only select one answer to each question - but when submitting the form

1) only one record is added - but the answer id isn't
2) the form displays the following before each question:

Warning: Cannot modify header information - headers already sent by (output started at ...../polls/take-the-poll.php:92) in ...../polls/take-the-poll.php on line 162

Can you spot a quick fix?

Many thanks
Chris

Sign in to reply to this post

Ray BorduinWebAssist

The insert code on line 129-165 definitely has to be moved up on the page... that is the cause of the header error.

Your naming convention with a dynamically named form element is going to prevent the server behavior from working without some hand coding. I'd suggest a premium support ticket to work on this. I'm sure we can get it working in an hour session, but it is beyond the scope of what I can debug and get working remotely.

Sign in to reply to this post
Did this help? Tips are appreciated...

Sweens

Hi Ray

Thanks - I have requested premier support.

Cheers
Chris

Sign in to reply to this post

Sweens

Hi Ray

Many thanks for your help.

However, I'm now getting loads of messages from the forum to say I've replied to numerous threads - which I haven't been near!! I think you may have done something when you took my details for payment!

Cheers
Chris S

Sign in to reply to this post

Ray BorduinWebAssist

Yes, sorry about that.

Sign in to reply to this post
Did this help? Tips are appreciated...

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