Ask Your Question

[base] Hide elements under certain conditions

asked 2016-08-04 15:23:08 +0200

Webbly25 gravatar image

I am using base to create a form. On this form there are multiple subforms. However one of these subforms isn't required under most conditions.

So, if the TypeId equals 3 then show this subform and all its elements (labels, formatted fields), if TypeId does not equal 3 then I want to hide it as that information doesn't need to be submitted to the database and it my confuse users.

If I can't get it to change when 3 is entered, could I use a push button instead that users click when required?

Is that possible at all? Im on a mac if that makes a difference (i doubt it does)

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2016-08-04 16:34:06 +0200

Ratslinger gravatar image

updated 2016-08-05 16:34:51 +0200

Hide/reveal of Controls based upon a condition which can be done through macros. Please see this post: click here.

There is a sample (link) in the first comment.

edit flag offensive delete link more

answered 2016-08-05 11:07:15 +0200

peterwt gravatar image

You cannot hide a subform in one action. You need to hide all the elements on the subform individually.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-08-04 15:23:08 +0200

Seen: 121 times

Last updated: Aug 05 '16