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

state designation

Thread began 4/14/2010 2:11 pm by i.edwards384429 | Last modified 4/14/2010 2:40 pm by Jimmy Wu | 479 views | 1 replies |

i.edwards384429

state designation

Hi

In the checkout sequence the address is given which includes the two digit state designation.

ie. in confirm.php

Ian Edwards
12 Tudor Road
Weston-s-Mare, ON BS22 7UQ
GB
(01934) 516381



I do not need the "ON" I need the full name

where is this picked up from in the select statement

thanks

Ian

Sign in to reply to this post

Jimmy Wu

The value is gotten from the select list value on both the user profile page and checkout page. The options look like this (using Alabama as an example):

<option value="AL" <?php if (!(strcmp("AL", ((isset($_GET['valid']))?(ValidatedField("confirm","state_province")):$row_WAATKusers['UserState'])))) {echo "selected=\"selected\"";} ?>>Alabama</option>

You would want to change value="AL" to value="Alabama"

and also change <?php if (!(strcmp("AL" to <?php if (!(strcmp("Alabama"

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