dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32238
Re: Custom Tracked Entity Form
Yes I can see that...have looked at his code as well. but not sure which
show/hide he was talking - because there is also a show/hide in the app.
the way app works is that... if you have a custom form defined it is
displayed by default. The app also provides a button to toggle back to
default form... in case you want to revert back.
when in custom form, the app parses and renders whatever is put under the
"custom form" ... from there on, the custom form/code takes in charge of
things. can he see all his code rendered?
On Thu, Aug 21, 2014 at 9:17 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
> It's at the bottom of his pastebin script, he wants to change between
> English and French
> On 21 Aug 2014 09:12, "Abyot Gizaw" <abyota@xxxxxxxxx> wrote:
>
>> Hi Martin,
>>
>> I am a bit unsure with things here... which show/hide functionality are
>> you referring?
>>
>> Can you provide us some details?
>>
>>
>> On Wed, Aug 20, 2014 at 3:05 PM, Martin Namutso <mnamutso@xxxxxxxxx>
>> wrote:
>>
>>> Greetings...
>>>
>>> In my effort to create a custom tracked entity form with bi-lingual
>>> (English & French) functionality...I quickly decided to use jQuery and HTML
>>> DIVs as coded here http://pastebin.com/CP3u1jZ8 *i.e. this is just a
>>> snippet of the code*.
>>>
>>> As a newbie i finally got it working on my HTTP localhost (outside
>>> DHIS2) however as i try to replicate it inside the DHIS2 tracked entity
>>> form - *alas *- things go wrong; i can't seem to get it working with
>>> the show/hide functionality its intended for. Once i select French from the
>>> select option, it displays the French DIV but also leaves the English DIV
>>> showing too.
>>>
>>> Any help on this is much appreciated...
>>>
>>> -----
>>>
>>> * Blessings & regards*
>>>
>>> Martin Namutso (Snr)
>>> IT/MIS Consultant *|* Mob: +256 782 006 662* / *+256 704 336 161 *| *
>>> http://ug.linkedin.com/in/mnamutso
>>>
>>>
>>> *1. To oppose Corruption in government is the highest obligation of
>>> patriotism - G. Edward Griffin2.** Try not to become a man of success
>>> but a man of value - Albert Einstein*
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help : https://help.launchpad.net/ListHelp
>>
>>
Follow ups
References