close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error in form

Thread began 4/12/2010 2:11 pm by i.edwards384429 | Last modified 4/13/2010 3:37 pm by Jason Byrnes | 757 views | 3 replies |

i.edwards384429

error in form

Hi

I have a site at

Powerstore

Ok I have played with the template and in the "state " part of the user registration I have typed in manually every Uk county but I left all the state code in place just deleted say Alaska and typed in Avon.

example code here:

"selected=\"selected\"";} ?>>Choose a county</option>
<option value=" " <?php if (!(strcmp(" ", (ValidatedField("usersRegistration","UserState"))))) {echo "selected=\"selected\"";} ?>>N/A</option>
<option value="AB" <?php if (!(strcmp("AL", (ValidatedField("usersRegistration","UserState"))))) {echo "selected=\"selected\"";} ?>>Aberdeenshire</option>
<option value="AN" <?php if (!(strcmp("AK", (ValidatedField("usersRegistration","UserState")))))


Ok now when I go through the sequence at checkout.php it does not automatically display the county/state neither does it on the shipping form

Also even if I tick the box on the form for same as billing it still ask for a county/state.

Ok I've done something

any idea what

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

have you change the name of the select list? It should be UserState.

I cannot see the problem at the URL you provide, it gives me a 404 page not found error.

Sign in to reply to this post

i.edwards384429

Hi Jason

Just so we are clearl

when I register and then validate via email all seems ok.

If I then log out and re log in

when users_profile.php is shown it remembers the state/county

when I then purchase an item and move through to the checkout screen

the state/county is not shown in either the billing or shipping areas and
if I tick the same as billing box then I'm still asked to input a state/county.

The domain is

powerstore/

Any ideas as to why it not showing?

thanks

Ian

Sign in to reply to this post

Jason ByrnesWebAssist

the billing state select list should be named "state_province"


the shipping state select list should be named "shipping_state_province"

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