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

Question

Question

Hidden Section in a form not being saved to Repository when Shown.

asked on October 2, 2014

I'm currently finishing up our PO Form but have one last snag that I need help with.  I currently have a Bid recap section that is hidden with javascript. If the total of the PO reaches $5,000, then the Bid Recap Section is shown to be filled out.  When I hit the submit button the Bid Recap Section is not displayed when saved to the repository even though it was visable at the time of submision.  I'm sure it's because of how I'm hiding the Section in Javascript, but any help would be greatly appreciated.

 

Thanks,

 

-Cade

0 0

Replies

replied on October 2, 2014

Can you please provide the JavaScript you are using?

1 0
replied on October 2, 2014

One idea, instead of using javascript, is to have a "Final Form" that has all of the fields you need to be saved to the repository and use that when setting up the Save to Repository service task. It takes a lot of the headache out of questioning whether or not the javascript is going to work.

1 0
replied on October 3, 2014

This is usually the best recommendation for anyone that just wants to not worry about things, but you can also handle this with other methods.

 

You can use the javascript to check if the URL has a routingResumeId or not an if it does, to hide the field. This way when it's being saved that will not run and all will be fine

0 0
replied on October 31, 2014

This is what I ended up having to do when I had this same issue, but it did restrict the functionality that I wanted to have by not being able to use the javascript like I initially wanted.

0 0
replied on October 30, 2014 Show version history

I had this same issue and there was not a real solve for it because the order in which javascript is executed.

https://answers.laserfiche.com/questions/61552/Form-Not-Persisting-with-Updated-Information

 

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

Sign in to reply to this post.