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


Remove the Security Question

Thread began 5/21/2012 11:39 am by james276087 | Last modified 5/22/2012 11:36 am by james276087 | 513 views | 2 replies |


Remove the Security Question

Good morning,

I like to remove Security Question from the Contact Us page.

thanks for reading....advice please

Sign in to reply to this post

Jason ByrnesWebAssist

on the contact us page, delete the following code from line 173L

var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "none", {validateOn:["blur"]});

line 140 - 157:

<div class="text"><?php require_once("WA_ValidationToolkit/WAVT_CaptchaSecurityQuestion.php"); ?></div>

                <label for="Security_question">Security Question:</label>
                 <span id="sprytextfield4">
                            <input name="Security_question" type="text" class="inputValue" id="Security_question" onBlur="if (document.getElementById('securityServerError')) document.getElementById('securityServerError').style.display='none'" maxlength="40" />
                            <span class="textfieldRequiredMsg">A value is required.</span>
if (ValidatedField("contact","contact"))  {
                                if ((
strpos((",".ValidatedField("contact","contact").","), "," "5" ",") !== false || "5" == ""))  {
                                    if (!(
false))  {
                                    <span id="securityServerError" class="textfieldServerError">Your answer was not correct.</span>
                                    <?php //WAFV_Conditional contact.php contact(5:)

and line 21:

$WAFV_Errors .= WAValidateLE(((isset($_POST["Security_code"]))?strtolower($_POST["Security_question"]):"") . "",((isset($_SESSION["random_answer"]))?$_SESSION["random_answer"]:"") . "",true,5);
Sign in to reply to this post


thank you as always

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





Ease of use


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