The work little hacking works brilliantly
Thanks 

Julius
________________________________________
From: [email protected] [[email protected]] On Behalf Of Darius 
Jazayeri [[email protected]]
Sent: 19 August 2011 17:07
To: [email protected]
Subject: Re: [OPENMRS-IMPLEMENTERS] Size="XX" Not Working for textfields with 
autocomplete attribute

Hi Julius,

You can't currently do this in HTML Form Entry, but it would be trivial to add. 
I'll put it on the list for the next release.

If you want, you can do a bit of a hack right now. Something like this should 
work:

<span id="this-is-a-hack">
    <obs id="psych_diag" style="autocomplete" ... />
</span>

<script>
    $j('#this-is-a-hack input:text').attr('size', 60);
</script>

-Darius

On Fri, Aug 19, 2011 at 7:43 AM, Julius Awakame 
<[email protected]<mailto:[email protected]>> wrote:
Hi Daniel,

I have been trying to increase the default size of my textfields with the 
style="autocomplete" attributes within the HTMLFormentry Module development 
page but size="XX" attribute is not working. I need fields much larger to 
display psychiatric diagnosis which can be a sentence long at times. I am 
missing something? Any workarounds or tit-bits?

Julius

_________________________________________

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

[mailto:[email protected]<mailto:[email protected]>?body=SIGNOFF%20openmrs-implement-l]

________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l>
 from OpenMRS Implementers' mailing list

_________________________________________

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

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

Reply via email to