I'm having an issue with the Facility Data Module 2.0.1 on OpenMRS 1.8.2 .   

I've made a very simple form, one numeric question. The Save button is
enabled when the page loads, but disabled for any value I put in.  

I walked through the validate() function in Firebug.  The value passes all
the validation checks.  When it gets here:

$(".error").each(function(i, val) {
var errorText = $(val).text();
if (errorText && errorText != '') {
$("#submitButton").attr("disabled", "disabled");
}
}); 

errorText is not null.  The value for errorText is "The full stacktrace for
this error can usually be found in your server's error logs. Hide error "     
There are no errors in the server log.

Save works if no values are entered in the text boxes.  It updates to show a
value of "no answer" , and the edit button. 

Regards-
Janet



--
View this message in context: 
http://openmrs-mailing-list-archives.1560443.n2.nabble.com/Facility-Data-module-error-save-always-disabled-if-a-value-entered-tp6807513p6807513.html
Sent from the Developers mailing list archive at Nabble.com.

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to