close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Trying to replace SecurityAssist generated input field with dropdown menu selection (for "countries" listing)

Thread began 1/25/2022 6:24 am by yogastudents362523 | Last modified 1/25/2022 9:13 am by Ray Borduin | 148 views | 1 replies |

yogastudents362523

Trying to replace SecurityAssist generated input field with dropdown menu selection (for "countries" listing)

Hello,

I would like a dropdown list for people to select their country on the on the SecurityAssist generated registration and update pages. The code I currently have in place is:

<tr>
<div class="lineGroup">
<td><label for="Country" class="sublabel" > Country:</label></td>

<td> <input id="Country" name="Country" type="text" value="<?php echo((isset($_GET["invalid"])?ValidatedField("presenterswitchboarddataupdate","Country"):"".$WADApresenter_data_update->getColumnVal("Country") ."")); ?>" class="formTextfield_Medium" tabindex="6" title="Please enter a value.">
</td>
</div>
</tr>

I have on the ready a country dropdown menu selection listing of:

<select id="Country" name="Country" type="text" value="????????" selected="????">
<option value="Afganistan">Afghanistan</option>

blah blah blah
<option value="Zimbabwe">Zimbabwe</option>
</select>
ready to go.

My difficulty is that where I have put the first set of question marks, the current Input field generated by SecurityAssist already has in place:
value="<?php echo((isset($_GET["invalid"])?ValidatedField("presenterswitchboarddataupdate","Country"):"".$WADApresenter_data_update->getColumnVal("Country") ."")); ?>" class="formTextfield_Medium" tabindex="6" title="Please enter a value.">

I am not quite certain if and or where that given precreated input value should be inserted relative to my intended dropdown menu.

I tried inserting the whole, as a replacement, but it would not work.

Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

Where you have the question marks should be removed. That isn't valid for select lists.

Sign in to reply to this post
Did this help? Tips are appreciated...

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