1
 Follower
17
 Likes

Conditional styles/extended properties

Frontend
On our radar

Hi,

sometimes based on a certain condition I would change the style on a button.
Instead of having that if statement in the screen and thus creating 2 buttons I would want the "Style" property to be able to handle conditions.

Same with extended properties. because sometime an onclick is added and sometimes not.
Created on 31 May 2010
Comments (5)
You can already do that by adding a "class" extended property with an If in the value
true, but why have a normal "style" then?

in the other case, when for example, I want an onclick on a td only in certain moments. sometime i don;t want the onclick added, because even if it's doing notjing, i can still tab through it and nptice it is a link
Merged this idea with 'Make the Class property an expression' (created on 2012-02-02 10:29:41 by André Ramos)
So we can for instance put an if arround the CSS class to be applied to an element, without using the extended properties.

Merged from 'Make the Class property an expression' (idea created on 2012-02-02 10:29:41 by André Ramos), on 2016-11-02 10:19:58 by Goncalo Borrega
took me a while, but I had a similar idea long long time ago :)

http://www.outsystems.com/wisdomofthecrowds/IdeaComment_List.aspx?IdeaId=227

Merged from 'Make the Class property an expression' (idea created on 2012-02-02 10:29:41 by André Ramos), on 2016-11-02 10:19:58 by Goncalo Borrega
views
1567
Followers
1