show / hide body form
568202Aug 21 2009 — edited Sep 22 2009I create a form with a report.The form has the hide_show_region template. So with + sign, I show or hide the body of the form. The default for the form is hide.
When users press the edit button of a record on the report the form body is still hidden. When presseing the + sign on the form, the text of the record is displaying correct.
I want to figure out the following:
- when press on the edit button, after the page has reload the form body must be show.
- But by default the body form must be hidden, so only when you press the + sign on the form or the edit button on the report the form body must be show.
in edit mode of the interactive report, i add the following by the edit link at the link attributes : onclick="htmldb_ToggleWithImage('#invoer#Body')" where 'invoer' is the static name of the form.
But nothing happend. Tried it with a function show_hide_region and the total form is hidden. But when the reload competes the form is show. So the onclick is also not correct is think....
Hope i have make my problem clear and some can help me with this.... tnx in advanced!