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

Question

Question

forms table cell borders

asked on October 15, 2014

How do you get the table cell borders to show on the image when no value entered?

 

When the form is saved to laserfiche there is no borders on the cells when no value set, it shows the row headers with nothing below.

Is there a way to save the table with the cell borders as per the form screen

Here is the entry form table.

 

When it is saved to LF it removes the borders.

 

1 0

Replies

replied on October 22, 2014

It turn out that the solution here is very simple. When you add a table to a form, there is no border around the cells. It looks like there is when you're filling out the form because the fields are all input fields, but in reality--no borders. When the form is submitted to the repository, the input fields become span elements, and borders aren't added. If you want a border, consider styling your table using CSS. To do this, add a CSS class to your table. Almost anything will do; when I tested this out, I used "test", but I recommend using something more descriptive. To add borders around the cells, I used one simple line of CSS:

.test td {border: 1px solid;}

Now, of course, you'll want to play with the CSS to make your table look the way you want it to. The important thing is that the styling will be included on the submitted form. 

 

If you'd like more information about CSS styling for tables, take a look at this MDN article. It should help get you started.

4 0
replied on October 16, 2014

Easiest way I would think is to put in a default value, or to give the fields "-----------------" below them by entering that type of string into the "Text Below field" section, you may even want to do that as well for the "Text above field" section. Putting information into the "Text above field" and "Text Below field" areas will appear even when there is a value in the field.

0 0
replied on June 17, 2015

This was VERY helpful.  I had a request from a user to maintain the lines... 

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

Sign in to reply to this post.