• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • Form Error (import works, save values not)

    I generated a simple form, XML is attached.
    ccdc_participant_v2.xml (7.5 KB)

    The import works well and the form is displayed.
    When I save the form values I get an “ERROR” window, without any more information.
    Found no indications in the tomcat log or in the os_unhandled_exceptions table.

    OS Version 4.2.2
    http://osformtest.demo.bibbox.org
    login: bibboxadmin / Login!@3 <a class=“attachment”

    DB (use the link in the up/left corner)
    http://adminer.demo.bibbox.org

    found some solution/workaround

    for non-repeating subforms
    < maxEntries > 1 </ maxEntries>
    does not work, use instead
    < maxEntries > 0 </ maxEntries>
    instead

    Hi @Heimo_Muller

    Non-repeating sub-forms are not supported from OpenSpecimen v2.x onward. The max entries = 0 is treated as repeating sub-form.

    An alternative is to include the fields of non-repeating sub-form in the main form itself. Let us know if this works. If not, please let us know the use case that you are trying to implement using such type of sub-forms.

    Thanks,
    Vinayak

    Dear @vpawar

    I use V 2.4.2 -With entries = 0 it works as an non-repeating form, just as it should be the case.
    The only problem I encountered was, when a date picker is included in a subform. The definition and preview is fine, but the form with datePickers is not displayed when values should be filled in.

    http://openspecimen.test-malta.bibbox.org/#/form-addedit/137
    http://openspecimen.test-malta.bibbox.org/#/cp-view/2/participants/5/detail/extensions/addedit?formId=137&recordId=70&formCtxId=46
    login with test/test

    what is the reason for dropping the support of nun-repeating sub forms. We really need this for two reasons:

    A) to define a mandatory subform, were the values should exits exactly once
    B) to improve the usability and readability of the form

    kind regards
    Heimo