We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Issue with certain required and hidden fields

Hi all,
I've noticed a problem that only affects some of the fields in a fairly long CRF. The affected fields are in a few different sections, but I will describe one example.
I have three fields that are hidden using the same simple conditional and are also marked as required. However, when the simple conditional is met, only the first field is actually checked for the required condition. The page can be saved if the first field is filled and the other two fields are not.
If I try to save the page with all three fields empty, only the first field gives a warning, and the other two fields don't show up at all on the reloaded page. They do show up if the simple conditional is toggled off and back on.
I have attached the CRF. The question that the simple conditionals are based on is the last one in the Eligibility section ("Has patient ever been diagnosed with hepatocellular carcinoma (HCC)?"). Selecting yes for this question displays the three questions I am referring to above.
Best regards,
Andy
Attachments:
HCV en - Baseline Visit - Part 1.xls 133 KB

Comments

  • GerbenRienkGerbenRienk Posts: 838 ✭✭✭
    Hi Andy,
    This could well be a memory problem. Did you check your logs?
    Try setting the PermSize, or if you already did that: to a higher value,
    for example:
    -XX:PermSize=512m
    (I use this setting on a test-machine with 4Gb)
    Hope this helps,
    Gerben Rienk Visser
    http://www.trialdatasolutions.com
    > > Hi all,
    > >
    > > I've noticed a problem that only affects some of the fields in a fairly
    > > long CRF. The affected fields are in a few different sections, but I
    > > will describe one example.
    > >
    > > I have three fields that are hidden using the same simple conditional
    > > and are also marked as required. However, when the simple conditional is
    > > met, only the first field is actually checked for the required
    > > condition. The page can be saved if the first field is filled and the
    > > other two fields are not.
    > >
    > > If I try to save the page with all three fields empty, only the first
    > > field gives a warning, and the other two fields don't show up at all on
    > > the reloaded page. They do show up if the simple conditional is toggled
    > > off and back on.
    > >
    > > I have attached the CRF. The question that the simple conditionals are
    > > based on is the last one in the Eligibility section ("Has patient ever
    > > been diagnosed with hepatocellular carcinoma (HCC)?"). Selecting yes for
    > > this question displays the three questions I am referring to above.
    > >
    > > Best regards,
    > > Andy
    > >
    tomcatsettings.gif
    Attachments:
    tomcatsettings.gif 13.2 KB
  • andylinandylin Posts: 8
    Hi Gerben,
    I don't see anything strange in the logs, but it's possible that I don't know what to look for. There are no errors, only info messages.
    I adjusted the PermSize to 600M and rebooted the server. I am still seeing the same problems with the fields.
    Best regards,
    Andy
    On 12/1/2011 7:39 AM, Gerben Rienk wrote:
    > Hi Andy,
    >
    > This could well be a memory problem. Did you check your logs?
    > Try setting the PermSize, or if you already did that: to a higher value,
    > for example:
    > -XX:PermSize=512m
    > (I use this setting on a test-machine with 4Gb)
    > Hope this helps,
    >
    > Gerben Rienk Visser
    > http://www.trialdatasolutions.com
    >
    >
    >
    >> Hi all,
    >>
    >> I've noticed a problem that only affects some of the fields in a fairly
    >> long CRF. The affected fields are in a few different sections, but I
    >> will describe one example.
    >>
    >> I have three fields that are hidden using the same simple conditional
    >> and are also marked as required. However, when the simple conditional is
    >> met, only the first field is actually checked for the required
    >> condition. The page can be saved if the first field is filled and the
    >> other two fields are not.
    >>
    >> If I try to save the page with all three fields empty, only the first
    >> field gives a warning, and the other two fields don't show up at all on
    >> the reloaded page. They do show up if the simple conditional is toggled
    >> off and back on.
    >>
    >> I have attached the CRF. The question that the simple conditionals are
    >> based on is the last one in the Eligibility section ("Has patient ever
    >> been diagnosed with hepatocellular carcinoma (HCC)?"). Selecting yes for
    >> this question displays the three questions I am referring to above.
    >>
    >> Best regards,
    >> Andy
    >>
  • GerbenRienkGerbenRienk Posts: 838 ✭✭✭
    Hi Andy,
    I'm sorry that I let you do that: I should have looked better at the XL.
    (Do change your setting back to the original value.)
    The error arises from the fact that the items that are shown by SCD, are
    in turn used to evaluate another SCD. A sort of nested use.
    In short: you have 4 items, A, B, C and D, all required.
    If A=1 then SHOW B and C, but at the same time:
    if C=1 then SHOW D
    You enter 1 for A, and B and C are shown. Then you hit Save and there's
    only one message, for B.
    There will be no error message about required field C not being filled.
    I tried to look in the issuetracker if it is a known bug, but could not
    find it. Anyone from Akaza?
    Kind regards,
    Gerben Rienk
    -----Oorspronkelijk bericht-----
    Van: Andy Lin [mailto:[email protected]]
    Verzonden: donderdag 1 december 2011 16:51
    Aan: [email protected]
    CC: Gerben Rienk
    Onderwerp: Re: [Developers] Issue with certain required and hidden fields
    Hi Gerben,
    I don't see anything strange in the logs, but it's possible that I don't
    know what to look for. There are no errors, only info messages.
    I adjusted the PermSize to 600M and rebooted the server. I am still
    seeing the same problems with the fields.
    Best regards,
    Andy
    On 12/1/2011 7:39 AM, Gerben Rienk wrote:
    > > Hi Andy,
    > >
    > > This could well be a memory problem. Did you check your logs?
    > > Try setting the PermSize, or if you already did that: to a higher value,
    > > for example:
    > > -XX:PermSize=512m
    > > (I use this setting on a test-machine with 4Gb)
    > > Hope this helps,
    > >
    > > Gerben Rienk Visser
    > > http://www.trialdatasolutions.com
    > >
    > >
    > >
    >> >> Hi all,
    >> >>
    >> >> I've noticed a problem that only affects some of the fields in a fairly
    >> >> long CRF. The affected fields are in a few different sections, but I
    >> >> will describe one example.
    >> >>
    >> >> I have three fields that are hidden using the same simple conditional
    >> >> and are also marked as required. However, when the simple conditional is
    >> >> met, only the first field is actually checked for the required
    >> >> condition. The page can be saved if the first field is filled and the
    >> >> other two fields are not.
    >> >>
    >> >> If I try to save the page with all three fields empty, only the first
    >> >> field gives a warning, and the other two fields don't show up at all on
    >> >> the reloaded page. They do show up if the simple conditional is toggled
    >> >> off and back on.
    >> >>
    >> >> I have attached the CRF. The question that the simple conditionals are
    >> >> based on is the last one in the Eligibility section ("Has patient ever
    >> >> been diagnosed with hepatocellular carcinoma (HCC)?"). Selecting yes for
    >> >> this question displays the three questions I am referring to above.
    >> >>
    >> >> Best regards,
    >> >> Andy
    >> >>
  • andylinandylin Posts: 8
    Hi Gerben,
    Thanks! I did some testing and you are correct about the nested conditionals being the cause of this bug.
    Best regards,
    Andy
    On Thursday, December 01, 2011 1:38:18 PM, Gerben Rienk wrote:
    > Hi Andy,
    >
    > I'm sorry that I let you do that: I should have looked better at the XL.
    > (Do change your setting back to the original value.)
    >
    > The error arises from the fact that the items that are shown by SCD, are
    > in turn used to evaluate another SCD. A sort of nested use.
    >
    > In short: you have 4 items, A, B, C and D, all required.
    > If A=1 then SHOW B and C, but at the same time:
    > if C=1 then SHOW D
    > You enter 1 for A, and B and C are shown. Then you hit Save and there's
    > only one message, for B.
    > There will be no error message about required field C not being filled.
    >
    > I tried to look in the issuetracker if it is a known bug, but could not
    > find it. Anyone from Akaza?
    >
    > Kind regards,
    >
    > Gerben Rienk
    >
    > -----Oorspronkelijk bericht-----
    > Van: Andy Lin [mailto:[email protected]]
    > Verzonden: donderdag 1 december 2011 16:51
    > Aan: [email protected]
    > CC: Gerben Rienk
    > Onderwerp: Re: [Developers] Issue with certain required and hidden fields
    >
    > Hi Gerben,
    >
    > I don't see anything strange in the logs, but it's possible that I don't
    > know what to look for. There are no errors, only info messages.
    >
    > I adjusted the PermSize to 600M and rebooted the server. I am still
    > seeing the same problems with the fields.
    >
    > Best regards,
    > Andy
    >
    > On 12/1/2011 7:39 AM, Gerben Rienk wrote:
    >> Hi Andy,
    >>
    >> This could well be a memory problem. Did you check your logs?
    >> Try setting the PermSize, or if you already did that: to a higher value,
    >> for example:
    >> -XX:PermSize=512m
    >> (I use this setting on a test-machine with 4Gb)
    >> Hope this helps,
    >>
    >> Gerben Rienk Visser
    >> http://www.trialdatasolutions.com
    >>
    >>
    >>
    >>> Hi all,
    >>>
    >>> I've noticed a problem that only affects some of the fields in a fairly
    >>> long CRF. The affected fields are in a few different sections, but I
    >>> will describe one example.
    >>>
    >>> I have three fields that are hidden using the same simple conditional
    >>> and are also marked as required. However, when the simple conditional is
    >>> met, only the first field is actually checked for the required
    >>> condition. The page can be saved if the first field is filled and the
    >>> other two fields are not.
    >>>
    >>> If I try to save the page with all three fields empty, only the first
    >>> field gives a warning, and the other two fields don't show up at all on
    >>> the reloaded page. They do show up if the simple conditional is toggled
    >>> off and back on.
    >>>
    >>> I have attached the CRF. The question that the simple conditionals are
    >>> based on is the last one in the Eligibility section ("Has patient ever
    >>> been diagnosed with hepatocellular carcinoma (HCC)?"). Selecting yes for
    >>> this question displays the three questions I am referring to above.
    >>>
    >>> Best regards,
    >>> Andy
    >>>
    >
    >
This discussion has been closed.