close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

email form works, but not when put into a bootstrap modal

Thread began 8/14/2015 2:04 pm by Sweens | Last modified 8/16/2015 2:51 am by Ray Borduin | 353 views | 3 replies |

Sweens

email form works, but not when put into a bootstrap modal

HI

I hope you can help with this - but I don't think it's really a web assist issue, rather bootstrap!

The attached shows two pages that are basically the same; MailMember.php is called in a new window; mail sent from this page is sent successfully,

I copied this code, as a starting point, into a bootstrap modal (modal-Mailmember.php); the modal opens and the form is displayed, together with dynamic values - but no email is sent.

I have no idea what is causing the conflict and hope you may be able to help

Thanks

Cheers
Chris

Sign in to reply to this post

Ray BorduinWebAssist

I see you have a redirect set for the update server behavior that happens before the email. Try removing the redirect from the update and put it in the email server behavior instead.

Sign in to reply to this post

Sweens

Thanks Ray

Already tried that - removed the server behaviour completely and the second submit button - set the email to trigger on btSend pressed (in attachment), but still no joy!

Cheers
Chris

Sign in to reply to this post

Ray BorduinWebAssist

You are trying to send the email to the Recordset result based on a URL parameter that isn't passed forward through the form submit.

Change your form action to: action="modal-MailMember-1.php?MemID=<?php echo(intval($_GET['MemID'])); ?>"

and it should fix that problem.

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