close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Two UE on one page

Thread began 11/16/2009 10:59 am by jon_upton | Last modified 11/18/2009 5:39 pm by Jason Byrnes | 2189 views | 6 replies |

jon_upton

Two UE on one page

I have two occurances of UE on one page a larger form called Main (UE1) and a small form called Showing (UE2).

Main submits no problem and the email is sent and the page redirects but Showing will not submit. I have looked at this till I'm blue in the face and can't for the life of me see what is wrong. Would someone be so kind as to see if they can see the bleeding obvious that is evading me.

contact.asp

Showing submits no problem when it is the only UE on thepage.

apartments.asp

Thanks

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

When you have 2 instances of UE on the page, make sure that the first one does not have a redirect set. If it does, the redirect will occur before the second one can send the email.

Sign in to reply to this post

jon_upton

Makes no difference at all

Before your suggestion

<%
if ((cStr(Request.Form("Submit")) <> "")) then
'WA Universal Email object="CDONTS NewMail"
'Send Loop Once Per Entry
WA_Universal_Email_1_SendMail("jon_upton@thinkanddo.co.uk")

'Send Mail All Entries
if ("default.asp"<>"") then
Response.Redirect("default.asp")
end if
end if
%>
<%
if ((cStr(Request.Form("Button")) <> "")) then
'WA Universal Email object="CDONTS NewMail"
'Send Loop Once Per Entry
WA_Universal_Email_2_SendMail("jon.upton@blueyonder.co.uk")

'Send Mail All Entries
if ("default.asp"<>"") then
Response.Redirect("default.asp")
end if
end if
%>

After

<%
if ((cStr(Request.Form("Submit")) <> "")) then
'WA Universal Email object="CDONTS NewMail"
'Send Loop Once Per Entry
WA_Universal_Email_1_SendMail("jon_upton@thinkanddo.co.uk")

'Send Mail All Entries
end if
%>
<%
if ((cStr(Request.Form("Button")) <> "")) then
'WA Universal Email object="CDONTS NewMail"
'Send Loop Once Per Entry
WA_Universal_Email_2_SendMail("jon.upton@blueyonder.co.uk")

'Send Mail All Entries
if ("default.asp"<>"") then
Response.Redirect("default.asp")
end if
end if
%>

Any other thoughts

Page attached in ZIP file

regards

Jon

Attached Files
contact.zip
Sign in to reply to this post

jon_upton

I'm asking nicely

Please can I have some help with this issue

Thanks

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

you are using email validation on the phone number field:

<span id="sprytextfield3">
<input type="text" id="CBTelephone" name="CBTelephone" value="" />
<span class="textfieldRequiredMsg">Enter you Telephone</span><span class="textfieldMinCharsMsg">Enter full Telephone</span></span></li>


var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3", "email", {minChars:10});


validation the form will only submit if you enter an email address in the phone number field.

Sign in to reply to this post

jon_upton

Cheers! Jason

I owe you a beer

Trouble is I haven't been to California since 1986 maybe some time in the near future you'll be able to collect if I can sell a few more web developments unless you are coming to the UK sometime soon.

Thanks again

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

No worries.

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