close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to add Universal Email 'blank' template page bindings; form page loads slow.

Thread began 7/25/2016 8:53 am by tmcbinc99963 | Last modified 8/19/2016 11:03 am by Ray Borduin | 2022 views | 9 replies |

tmcbinc99963

How to add Universal Email 'blank' template page bindings; form page loads slow.

I'm building a form (FindSalesRep.php) using Data Bridge Form Builder and using Universal Email to send the form.

Added a select list and trying to add a binding for it to the WA template page (UEmail server behavior says template is 'blank.php'). When I open the template 'webassist/email/templates/blank.php in DW it doesn't show any bindings that I can add (including those in the form already, such as comments). Is this the correct template page for my form? If so, where are the bindings?

Also, the page loads very slow. I've deleted the captcha and other security validations (kept those related to the basic form fields). Also deleted the related security server behavior validations. I've had pages fail to load due to validations before, could this be the reason the page loads slow?

File attached. Live view link in private message.

Sign in to reply to this post

Ray BorduinWebAssist

The blank page will automatically loop through all of the form fields and display their values. You can remove those and then us the plus button to add the form bindings from the page where the email server behavior is applied to access and add them manually instead.

I can't comment on the speed. It appears to open and run quickly to me. The actual email send can take a second or two.

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

tmcbinc99963

On the FindSalesRep.php page I've added a select list of US States, which have been entered manually in the code. On the same page, I then created a Dynamic Select List server behavior.

Opened Blank.php and created a new 'Form Data' binding based on the WA Form, but the select list doesn't show up in the list of available form elements.

Files attached.

Sign in to reply to this post

Ray BorduinWebAssist

Your select list doesn't have a name attribute. You need to refer to the submitted value by name, which means it needs a name.

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

tmcbinc99963

I'd like to format the email page that goes to the client differently, but can't find where the file is located.

Thought it was Blank.php, but that's not it.

The form action is a php script.

Sign in to reply to this post

Ray BorduinWebAssist

It will be referenced in your email include file where the body is built. By default it is in the folder webassist/email/templates

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

tmcbinc99963

Back to the earlier post, I've named everything in the Contact Us page, but still can't get the form items to show up in the Blank.php bindings.

On the Contact Us page, there weren't any dynamic behaviors for the radio button or checkboxes, so I tried to create manually. The names of the checkbox items appear in the 'Checkbox:' area, but not sure where to go from there. The 'Check if:' area wants me to select something from the form Persistent Form list, but none of the checkbox items are listed.

Also opened the 'Dynamic Attribute' behavior, but neither radio or checkbox items are listed.

Files are attached.

Sign in to reply to this post

Ray BorduinWebAssist

I'm afraid I don't really understand the question.

It looks like you are referring to form elements that don't exist. Any form element will be referenced by name. So you have in your email body: <?php echo((isset($_POST["SalesRep"]))?$_POST["SalesRep"]:"") ?>

but nowhere on your contact form do you have a form element named "SalesRep". Same thing with "JobOpportunities"

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

tmcbinc99963

This post has been deleted.

tmcbinc99963

After recreating the checkbox elements using insert > webassist > form > checkbox group, everything, including the radio button began working. My error was naming each checkbox differently, rather than one name for all checkboxes.

Thanks

Sign in to reply to this post
loading

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