0
 Followers
16
 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)
1 Jun 2010
You can already do that by adding a "class" extended property with an If in the value
1 Jun 2010
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)
2 Feb 2012
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
3 Feb 2012
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
948
Followers
0