You are viewing limited content. For full access, please sign in.

Question

Question

CSS Lookup Rule Appended Choices

asked on February 22, 2024

I have a form with multiple collections to which I added CSS to have clear borders around each collection so that the PDF is easier to read. The problem I am running into is that the pdf will show "Choice 1" instead of the selected value for the "Unit" field in the "Extra Units" collection when an appended choice is selected. The "Unit" field has a look-up rule associated with it and "Append choices to lookup results" is selected. Here is an example of what happens in the pdf:

Here is the CSS code I am using:

.borders{.fl-collection
{
  border-left-style: solid;
  border-right-style: solid;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: #99a6b2;
  border-width: 2.3px;
  border-radius: 15px;
}
  .collection-set{
    border-bottom-style: solid;
    border-color: #99a6b2;
    border-width: 1px;
    border-radius: 15px;
  }
  .section-title {
    border-radius: 15px;
  }
}

For this case, I was able to bypass having to append choices to the "Unit" field by updating the view used in the look-up rule to include all the necessary choices. However, I'm concerned that I will not always be able to do this. Is it possible that the code I am using is causing the problem and has anyone else run into this problem?

I am using the latest Laserfiche self-hosted Forms 11 version in the modern designer for the form having the problem.

0 0

Replies

replied on February 22, 2024

Hmm, that is interesting behavior. I'm not able to reproduce it. Can you take a look in the process diagram where you are saving the form to the repository and check the Save settings?

Which option are you using?

0 0
replied on February 22, 2024

The form doesn't get saved to the repository, it's being emailed as a pdf attachment by an email service task. 

I checked the instance variables and it also shows as Choice 1 instead of M06 that it was selected.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.