Hello All,
 
We are short of experienced IT people and as such we are again reverting back 
to the group.
 
Please let me know, as suggested by Darius, whether any one has example for 
such a javascript. 
 
Thanks for all the help
Rajib
 
 


________________________________
From: Darius Jazayeri <[email protected]>
To: [email protected] 
Sent: Sunday, February 26, 2012 1:05 PM
Subject: Re: [OPENMRS-IMPLEMENTERS] [OPENMRS-DEV] HTMLForm entry with Addition 
button to create dynamic entry


Hi Rajib, (copying dev and implementers to reply to your two emails at once) 

The workaround you can do right now is to do many (e.g. 10, 50, or however many 
you need to be "more than enough") and use javascript to do an add button which 
will reveal one more row.

Several people have worked on this ticket over time, and nobody has yet managed 
to implement this in a non-hacky way. And nobody is working on it right now...

-Darius


On Sat, Feb 25, 2012 at 11:30 PM, Rajib Sengupta <[email protected]> wrote:

Hello Development Team,
> 
>In our current implementation we are looking to use this feature extensivley 
> 
>I am trying to create a dynamic "repeat addition" in the HTMLFORM. I was 
>trying the repeat and render tag , but that way it is not dynamic. Also, all 
>the fields will show up multiple times during rendering of the form to the 
>user making it a very large form (there are > 500 possibility of toxicity). 
>Basically I am trying to do something similar to the  "Add Identifier" or "Add 
>Address" in the Patient Entry form under the Demographic tab.
> 
>I am trying to do something like this:
>Section 4 : Add Toxicity 
>
>TOXICITY _____________   TOXICITY LEVEL_________  
>DATE ____________    COMMENTS  _______  
>                                                        [Button or link Add 
>Toxicity]
> 
>The user will fill up the first Toxicity. Then , when clicked on this Add 
>button or linkthen it will be as following
> 
>TOXICITY NAME _Dysphagia_____   TOXICITY LEVEL___3______  
>DATE __1/1/2011_____    COMMENTS  _ TEST___  [REMOVE]
> TOXICITY NAME _____________   TOXICITY LEVEL_________  
>DATE ____________    COMMENTS  _______  
>                                                       [Button Add Toxicity]
>I have found a ticket https://tickets.openmrs.org/browse/HTML-50
> 
>I will really like to know about this ticket and is there is any workaround 
>available or not (such as using javascript)
>
>Thanks,
>Rajib
>
>
>________________________________
>Click here to unsubscribe from OpenMRS Developers' mailing list


________________________________
Click here to unsubscribe from OpenMRS Implementers' mailing list

_________________________________________

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