close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I want to be sure to get the existing data from the column in the database and my attempt failed and broke the page.

Thread began 1/15/2020 11:49 am by jo271221 | Last modified 1/20/2020 10:06 am by jo271221 | 823 views | 14 replies

jo271221

The button was not working for me, nothing was clickable. So here is my attempt which seems to be working except the selected item appears twice in the menu. I am also checking to be sure I did not break the required field function.

<div class="lineGroup"> <label for="royalcrown" class="sublabel" > royalcrown or rc pend:<span class="requiredIndicator">&nbsp;*</span></label>
<select class="formMenufield_Large" name="royalcrown" id="royalcrown" rel="<?php echo((isset($_GET["invalid"])?ValidatedField("stallionupdate","royalcrown"):"".$WADAhorses_update->getColumnVal("royalcrown")."")); ?>" tabindex="5" title="Please enter a value." required="true">
<option value="Royal Crown" <?php if (!(strcmp("Royal Crown", "royalcrown"))) {echo "selected=\"selected\"";} ?>><?php echo($WADAhorses_update->getColumnVal("royalcrown")); ?></option>
<option value="Royal Crown">Royal Crown</option>
<option value="Royal Crown Pending">Royal Crown Pending</option>
<?php
while(!$WADAhorses_update->atEnd()) { //dyn select
?>
<?php
$WADAhorses_update->moveNext();
} //dyn select
$WADAhorses_update->moveFirst();
?>
</select>
<?php
if (ValidatedField('stallionupdate','stallionupdate')) {
if ((strpos((",".ValidatedField("stallionupdate","stallionupdate").","), "," . "2" . ",") !== false || "2" == "")) {
if (!(false)) {
?><span class="serverInvalidState" id="royalcrown_ServerError">Please enter a value.</span><?php //WAFV_Conditional stallion_update.php stallionupdate(2:)
}
}
}?>
</div>

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