Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Note that this page refers to a Google Summer of Code project that has not been incorporated into the main Html Form Entry line--so this feature is not currently avaiable.  Please see the Html Form Entry reference guide to for the list of currently available tags: HTML Form Entry Module HTML Reference

...

1.Dynamic Autocomplete Widget

...

...

Mockup
Code Transistion
Code Transistion
16

Panel

You can try out the following code(go to administration->manage HTML forms->New HTML form->(give some example data) and save-> just select the whole code below and paste it in the text area provided in the page )  For Dynamic Autocomplete Functionality:

...

  • While rendering the View/Edit mode i need to replicate the xml in the <dynamicRepeat></dynamicRepeat> so to know the number of times to replicate the xml  session.getContext().getExistingObsInGroupsCount();  in HtmlFormEntryGenerator is being used. It gets the count of the existing obsGroups in the Context and this is used as the count as mentioned earlier.Even this is not perfect in the case where there are more obsGroups than the one's stored by dynamicRepeat tag handler the xml would be repeated even for them.

Possible solution: If there is dynamic Repeat table created in the database where we can store each dynamicRepeat as an entry and for that entry we can store the stored obs id's. We will know the count and we will be able to differentiate between one dynamicRepeat and other. Then dynamicRepeat would be working for any tag in it.