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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

response mail layout

Thread began 7/01/2009 6:18 am by sommar340908 | Last modified 7/07/2009 8:05 am by sommar340908 | 2721 views | 13 replies |

sommar340908

response mail layout

hi

2 questions,

1. in the response mail i get from the form i don't want to show the security code (unnecesary) how to get rid of it?


2. in my form all works fine. if i fill out right, everything is turning green, exept my list/menu where i select mr or mrs? can i let this turn green aswell when the user selected
anything?

txs a lot


marc

Sign in to reply to this post

Ray BorduinWebAssist

1) I think this is supposed to be excluded by name... anything that begins with Security_ should be removed automatically.

2)Apply spry validation to the field using DW Insert->Spry->list validation

Sign in to reply to this post

sommar340908

txs ray,

you where right. in point 1 i changed the Security_ to Sicherheits_. so i changed again and it works great now.

in point 2: itried but it don't work.
i will check again this night

txs ray

Sign in to reply to this post

sommar340908

ray,

i'm becoming very frustrated here :(
i tried it with DW Insert->Spry->list validation but it won't work at all.
don't you think it is possible to change the contact.php for the next Contact Form Solution Pack 1.03 in that manner that it contains one of each formular elements? (1 textfield, 1 password field, 1 textarea, 1 checkbox, 1 radio button, and 1 dropdown menu)
would be easyer to work with.

txs

Sign in to reply to this post

Ray BorduinWebAssist

I appreciate the suggestion... not sure how much easier it would be though... cutting and pasting and editing to make names unique should be more difficult than just adding the list validation with spry.

Here is what you shoudl have done.
1) highlight your list
2) go to insert->spry->list validation

What do you mean it doesnt' work? What doesn't work about it? What happens?

Sign in to reply to this post

sommar340908

ok ray,

i try to tell what i've done.
i take the original contactus.php and added above "your name" a list. then i highlighted the list and did insert->spry->list validation. like you told me.
so now when i open the contactus.php in my browser the list is there with 3 entries. "select - mr - mrs". when i click the list it turns yellow. i want that the first entry does not count as a selection. so only mr and mrs. but when i select nothing at all it do not turn red or green at all like the textfields.
this is my great problem. and sorry for my bad english

txs

Sign in to reply to this post

Ray BorduinWebAssist

make sure your top option has a blank value like:

<option value="">select</option>

and it should work. Post the url if you continue to have problems.

Sign in to reply to this post

sommar340908

by the way, ray

"I appreciate the suggestion... not sure how much easier it would be though"
it would be easy to copy paste the servervalidations and validations showif as they are not set by inserting the new form element. so it would be very nice too see this change coming. as you can assume i am not the greatest php guru, that is why i spend money for the solution pack. but it seems not so easy like i thought it would be. but i know you're the big specialist and you'll help me out of trouble :)

txs

Sign in to reply to this post

sommar340908

this is what i did for the select

<select name="Anrede" id="Anrede">
<option value="" selected="selected">Auswahl</option>
<option value="Herr" <?php if (!(strcmp("Herr", (ValidatedField("contact","Anrede"))))) {echo "selected=\"selected\"";} ?>>Herr</option>
<option value="Frau" <?php if (!(strcmp("Frau", (ValidatedField("contact","Anrede"))))) {echo "selected=\"selected\"";} ?>>Frau</option>
</select>

Sign in to reply to this post

Ray BorduinWebAssist

Does the client spry validation work?

The reality is that 99% of the people using the page won't ever see the server validation unless they enter the wrong CAPTCHA or security answer or they have javasript turned off the spry validation catches most of it and php isn't really needed.

The server validation and showif code is exactly the same for a list as it is for a text field. But it has to be added to the server validation on top of the page as well with a unique identifier and that identifier has to be referenced in the showif. It is best to use the Validation Toolkit for this if you are not a php guru.

I'd start with getting spry to work... Then get the validation added to the server validation on top of the page... then try to get the message to show.

Take it one step at a time and it should be pretty easy to do... I'm not sold that having a sample field would help since validation still isn't quite as simple as cutting and pasting even in that case.

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