close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Time update fails

Thread began 9/11/2015 5:24 am by WALID | Last modified 9/14/2015 1:40 pm by Ray Borduin | 152 views | 1 replies |

WALID

Time update fails

I have DB installed on Dreamweaver CC 2015. I used Data assist pages to search, update records from database. I have a problem with time, It doesn't update time and gets an error that "please enter a value"
As well it fails to populate date in the date fields every time I load the update page from the results page.

The following is the code:

</div>
<div class="lineGroup"> <label for="timeofadmission" class="sublabel" > Time of Admission:</label>
<input name="timeofadmission" type="text" class="formTextfield_Medium" form="Update_Basic_Default" max="24:60:00" min="01:00:00" tabindex="10" title="<?php echo $row_WADAmaintble['timeofadmission']; ?>" value="<?php echo((isset($_GET["invalid"])?ValidatedField("maintbleupdate","timeofadmission"):"".(($row_WADAmaintble["timeofadmission"])?date("g:i A",strtotime($row_WADAmaintble["timeofadmission"])):"")."")); ?>">
<?php
if (ValidatedField('maintbleupdate','maintbleupdate')) {
if ((strpos((",".ValidatedField("maintbleupdate","maintbleupdate").","), "," . "5" . ",") !== false || "5" == "")) {
if (!(false)) {
?><span class="serverInvalidState" id="timeofadmission_ServerError">Please enter a value.</span><?php //WAFV_Conditional maintble_update.php maintbleupdate(5:)
}
}
}?>
</div>

Attached Files
maintble_update.php
Sign in to reply to this post

Ray BorduinWebAssist

It looks like there is an issue with the time validation logic. Try updating the file located at: /webassist/jq_validation/jquery.h5validate.js

I've attached a new version.

Attached Files
jquery.h5validate.js
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...