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

Question

Question

form different after submit

asked on September 11, 2016

I have a form that looks this way before submitting (note the hidden monthly amounts, right aligned monthly amounts and only 3 benefit options rows).

I am using css to control the formatting of the monthly amount (heading and field).

I am using jquery to remove the unnecessary benefit options rows.

Once it is submitted, the screen for this section looks like this:

How do I get the "end result" form to look the same as the "in-progress" form?

 

0 0

Replies

replied on September 11, 2016

The elements such as input/textarea on submitted form will be converted to div, you can change the condition to  "if (($('#q284 input').val()=='R')||($('#q284 div').val()=='R'))" to make it work on submitted form.

0 0
replied on September 12, 2016

I added your suggestion but I am getting the same results.

I see in Google Chrome developer tools that the results are in an id="submission-frame-wrapper" and I cannot see the individual elements.

Any other ideas?  I appreciate your help.

0 0
replied on September 12, 2016

What is the field type of #q284? You should be able to see the individual elements by focus in the element on the html then select "inspect" from right click action menu as this video:http://screencast.com/t/Jw1muXic

0 0
replied on September 13, 2016

The problem was not with #q284, but with the .sumTable -- it is a fixed number of rows table that I was trying to use as a dual table -- for active and retirees.  The retirees only need 3 rows as oppose to the original 13.  In the end, I made a duplicate table and manually deleted the extra rows.  But the div information is valuable elsewhere.

How would you work with radio button elements in the submitted state?  I need to hide some that the logic is too complicated to define in the Laserfiche field rules.

0 0
replied on September 14, 2016

The radio button element is the same when fill form and show on submitted form, so you JavaScript which works when fill form should be work on submitted form as well. Did you find any problem?

0 0
replied on September 14, 2016

I have not tried it since you taught me about the div.  I will use it for the condition to control the radio button element.  Just seeing if there were more keys to open the Laserfiche Forms "box".  I am learning more about HTML and JQuery as I go.

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

Sign in to reply to this post.