Choice Subform Set Data Binding


we use choice subform set display different subforms based on whether hasscore value set yes or no.  done repeatedly in form want try , map choice subform sets use hasscore value same data instance in our xml.  when attempt first choice subform set works.  rest default first subform in choice subform set.  way rest of choice subform sets work duplicate data instance in our xml match number of choice subform sets in form.

 

any way choice subform sets use same data instance in xml?  or there better way without resorting javascript show/hide subforms?  choice subform set looks nice don't want duplicate xml data work.

 

what have when have 3 choice subform sets use hasscore value:

<?xml version="1.0" encoding="utf-8"?>

<

loan_info>

  <score>

    <hasscore>yes</hasscore>

  </score>

  <score>

    <hasscore>yes</hasscore>

  </score>

  <score>

    <hasscore>yes</hasscore>

  </score>

  <scorevalue>742</scorevalue>

</

loan_info>

 

what when have 3 choice subform sets use hasscore value:

<?xml version="1.0" encoding="utf-8"?>

 

<

loan_info>

 

  <score>

    <hasscore>yes</hasscore>

  </score>

  <scorevalue>742</scorevalue>

</

loan_info>

the issue has how form , data combine create layout. done element element cannot go in layout , cannot go in data. once pass reference point in data (where chose 1st subform set) cannot go @ later point check same data item. global binding used (this sets variable in memory value there). coudl bind temp field , write code populate real field same value. change binding global (on real field) , fields of same name assigned value.

 

make sense?

 

paul



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support