Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ConfiForms - Using Expand or Tabs - How to populate different tabs with different fields-dynamically

Frank Rentef
Contributor
May 21, 2019
  1. I have a form w/50 fields.
  2. I wish to populate the data across 5 tabs (or expand box).
  3. Each tab will have 10 unique fields. (Ideally each tab will be list view).
  4. I am using ConfiForms Form Filter Control above an ConfiForms ListView.
  5. The Filter Control works properly for the single ListView for all 50 fields.
  6. However when adding Tabs 2-5 and populating the data with Form Fields (10 fields each unique to their own Tab) I only get duplicate data.... (same data as Tab 1).

 

Assistance is appreciated.

#1 ConfiForms Form Filter Control.jpgConfiForms Form Filter Control.jpg

 

3 answers

0 votes
Darryl Peterson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2019

Related question.  I think/hope.

I have included an image of the MS Word Options dialog.  I would like to have Confiforms do something similar.  The user can select a tab (or expand box) and see that sub-section of fields.  The actual control is not as important as being able to see a subset without navigating to other pages.

I can get the fields on the first tab to populate, but not the second and additional tabs.  I have run out of ideas.  I believe that I do not correctly understand the differences/architecture to use JavaScript on the front-end vs. the back-end.

Links to documentation as well as any links to examples/samples would be great.

Thank you.

Capture.PNG

Alex Medved _ConfiForms_
Community Champion
June 18, 2019

Tab functionality providing apps do have a function to init the tabs.

If you have the ConfiForms form rendered as embedded then this will work for you, as tabs are "initialized" when the page is loaded.

But if you have a form that is rendered as dialog then you need to know how to initialize the tabs, as form view is rendered on demand (we have a "hook", a parameter where you can "call" initialization of your tabs or anything that needs initialization / post function)

Alex Medved _ConfiForms_
Community Champion
September 12, 2021

We have made some prototype to show how this could be done (not really should be done, as in our opinion the tab/expand macros should be self-initializing and work no matter how they are rendered - via page rendering or dynamically)

https://wiki.vertuna.com/display/CONFIFORMS/Creating+tabbed+form+with+ConfiForms+and+Refined+UI+toolkit+UI+tab

0 votes
Alex Medved _ConfiForms_
Community Champion
May 22, 2019

ConfiForms Filter macro loads / refreshes the contents dynamically via AJAX call. The contents of the view it is used to filter is rendered server-side.

If you have macros that require some custom initialization on the client side then these are not executed (unless the initializers are correctly added to the rendered macro and into AJS.toInit)

Alternatively, you can tell ConfiForms Filter to execute any specific JavaScript you may require by defining these parameters

filter-macro-js.png

0 votes
Frank Rentef
Contributor
May 22, 2019

....someone.....

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events