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

Question

Question

Save to repository with style intact

asked on April 17, 2017 Show version history

Hi, I was wondering if there is a way to do the following: save a form to the repository with the style intact. What I mean by that is that field values will be inside boxes similar to when you submit the form (see attached image,) and the values of a table will appear as a grid. I would like to know if this is possible because especially with a table, it doesn't look very neat to have all of the values just sitting there in white space.

 

 

Update: I found an answers post that helped a lot.

 

https://answers.laserfiche.com/questions/65410/forms-table-cell-borders#65869

And its corresponding link

https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_boxes/Styling_tables

 

I gave a table the CSS class BlackRow, then added the following lines to the CSS:

.BlackRow td {border: 1px solid black;}
.BlackRow td {color:black;}

This put a sort of grid around the rows of the table and also made it so that the values in the table are stored as black instead of red.

0 0

Replies

replied on April 18, 2017

The style of the form saved to repository will be the same as you view the submitted form from instances list or show it in the thank you page. If you are able to customize the style on the submitted form by applying CSS then save to repository will respect it.

0 0
replied on April 18, 2017

I tried changing the color of the input text for a field in a table to black. It normally gets stored as red, so I was trying to make it store as black. When inputting the color change works correctly (I tried it with blue and the text did get input as blue), but when saved to repository it is still red, in the exact same font as the columns of the table.

replied on February 15, 2018 Show version history

Xiuhong,

I have found this to not be true.

Preview:

From repository:

I have mentioned this in this post:

https://answers.laserfiche.com/questions/135659/field-height-aka-rows

EDIT:

I deleted my custom CSS and ran it again. It worked perfectly with no overlapping text. Not exactly sure what the problematic CSS is yet, but I will find it,

The fact remains that the "submit/thank you" does not match what is saved to the repository.

Thanks

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

Sign in to reply to this post.