Message Boards
[Get values entry forms]
Joaquim Moura, modified 3 Years ago.
[Get values entry forms]
New Member Post: 1 Join Date: 7/9/20 Recent Posts
Hello Devs.
I have a doubt regarding the search for information on a form, I was able to obtain the field names, but now I need the information on the lines, so can you indicate to me by the "OKAY" state some example material so that I can continue the development?
Below the code ceiling to get the name of the columns
List<DDMFormInstanceRecord> reclist = ddmFormInstance.getFormInstanceRecords();
for (DDMFormInstanceRecord rec : reclist) {
_log.info(" >>> Passo: " + count++ + " <<< ");
try {
final List<DDMFormField> formFieldVals = rec.getDDMFormValues().getDDMForm().getDDMFormFields();
for (DDMFormField fmval : formFieldVals) {
String name = fmval.getName();
_log.info("Name: " + name);
}
} catch (PreCertificationException e) {
e.printStackTrace();
} catch (PortalException e) {
e.printStackTrace();
}
}