close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Power Store

Thread began 10/06/2009 12:06 am by info266692 | Last modified 10/06/2009 3:26 pm by Eric Mittman | 1016 views | 1 replies |

info266692

Power Store

Somewhere in this forum some advices were given in how to modify or delete validation setting within Power Store 1 &/or 2 in some fields designed exclusively for US market: e.g. ZIP, Phone, State & Country. I’d like to adapt Power Store to the Down Under market.

Can anyone figure out which posting shall I look into it?

Cheers from OZ Alfredo

Sign in to reply to this post

Eric Mittman

In order to remove these fields you will need to remove the validation for the fields as well as the fields themselves.

The validations for these fields are located at the top of the page in the WA validations, you should be able to spot them based on the name of the input, here they are for you. You can safely delete each of the lines for the validations you would like to remove from the page. It might be best to make a copy of the page first just in case.

php:
$WAFV_Errors .= WAValidatePN(((isset($_POST["UserPhone"]))?$_POST["UserPhone"]:"") . "",false,true,true,13);

  $WAFV_Errors .= WAValidatePN(((isset($_POST["UserFax"]))?$_POST["UserFax"]:"") . "",false,true,false,14);
$WAFV_Errors .= WAValidateRQ(((isset($_POST["UserState"]))?$_POST["UserState"]:"") . "",true,17);
  $WAFV_Errors .= WAValidateZC(((isset($_POST["UserZip"]))?$_POST["UserZip"]:"") . "",true,true,true,true,true,18);
  $WAFV_Errors .= WAValidateRQ(((isset($_POST["UserCountry"]))?$_POST["UserCountry"]:"") . "",true,19);



Along with the server side validations you should remove the spry validations for these fields as well. You will find them at the bottom of the page under the <!-- InstanceBeginEditable name="SpryValidation" --> section. In here just delete the entries for the fields you do not want in the form like this:

Phone Spry text field 4
Fax Spry text field 5
State spry select1
zip Spry text field 8
country spry select2

This should get you the form without the validations for these fields. You can then remove these fields from the form if you would like.

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