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

Question

Question

Data alligned in an incorrect format when the forms saves to Repository

asked on May 14, 2020

In 10.4 forms when i save my form to the repository i see the data on the form appear in a compressed format. Not the labels just the fields where the user types in or selects. Any idea what could be causing this?

This is the selection i have on top of the form when i view the document in the repository.

0 0

Replies

replied on May 14, 2020

In your Forms process, go to your save to repository task and check the configuration there. Which form is being saved? Open up that form and look at the layout in the designer, are the fields small like shown above? Or does the designer show them bigger. 

It's possible the form you are saving to the repository is different than the one being filled out, and you just have to make the fields wider in the form that you are saving. 

It's also possible that the layout designer shows the fields as very small, but CSS was used to make them bigger when filling out the form. If so, that CSS may not also apply when generating the PDF of the form. One way to address this would be to open up the fields and make them wider from the layout designer instead of using CSS. 

2 0
replied on May 15, 2020

The form which is being saved to repository is the save form which is assigned in the user task. When i open the form which is assigned in the user task it looks correctly alligned. But when it saved to the repository it saves it like above 
compressed and displays vertically)

I did not make any form allignment changes in css.

0 0
replied on May 15, 2020

You may need to open a support case so our team can look at your process XML. We can only make guesses with the information given.

0 0
replied on May 15, 2020

What should i do to open a support case? I would appreciate some additional help .

0 0
replied on May 18, 2020

Your VAR would be able to provide you with assistance in opening a support case. I would also check again on the save to repository task, and going into the form that's configured there. Whether it's field setting configuration or CSS, something in there is likely the root of the issue.  

1 0
replied on May 14, 2020

Try adding this to your CSS:

.ro {
  width: 100%
}

 

2 0
replied on May 15, 2020

I tried the above in CSS it still does the same.  

0 0
replied on May 15, 2020

If you're familiar with HTML and CSS, you can open the form instance in the Monitor tab and play with the formatting there. The root issue is that the form doesn't save to the repository as is, instead Laserfiche pushes all your variables to a new instance of the form and saves that. When saving to the repository, some of the classes get messed around (the ro in my CSS above stands for read only and that class isn't present in the regular form).

The HTML template that forms saves to the repository from is the same template that Forms uses to create things like approval tasks, or step data, so check on the submitted form in the monitor tab and format that.

1 0
replied on May 18, 2020

I checked the form which saves to repository again. I did not use any changes in formatting the fields. Below is the CSS class on the form.

Based on certain functionality i hide certain fields.

 

.Submit {display:none;}
#q54 {display:none;}
#q40 {display:none;}
#q41 {display:none;}
#q42 {display:none;}
#q44 {display:none;}
#q45 {display:none;}
#q47 {display:none;}
#q21{background-color: lightyellow;}
#q68 {display:none;}
#q69 {display:none;}
#q57 {display:none;}
#q58 {display:none;}
#q59 {display:none;}
#q60 {display:none;}
#q61 {display:none;}
#q62 {display:none;}
#q63 {display:none;}
#q64 {display:none;}
#q65 {display:none;}

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

Sign in to reply to this post.