This topic is locked

Format exceptions

10/13/2006 9:25:10 AM
PHPRunner General questions
OCTheEagle author

Hi,
I'm building a sales system for a company. In the sales system there is one table where you can see which products they sell, and the amount of products there are left in the warehouse.
In this situation I like to use format exceptions so the manager can easily see whether there are enough products left. When the amount of products are less then 20 then the colour of the cell should turn to red. This way the manager can easily see what products need to be ordered.
Is there a possibility of doing this in PHPRunner?

J
Jane 10/13/2006

Hi,
sure you can do it easily with Visual Editor.

Select Custom for your field on the "View as" settings dialog on the Visual Editor tab and add your custom expression.

Here is a sample:

if ($value<20)

$value = "<font color=red>".$value."</font>";

OCTheEagle author 10/14/2006

Thank you, it's exactly the thing I'm looking for <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=11828&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

mikue from germany 10/15/2006

....sure you can do it easily with Visual Editor....


Hi Jane,
the visual editor is a fine solution to make custom code possible easy.

I would like to use also the asp version, but there is no visual editor available.

When you will release the visual editor for the asp version, then I will buy also "asp".
Greetings Michael

Alexey admin 10/16/2006

Michael,
we have ASPRunner 4.1 beta version with WYSIWYG editor.

You can download it here:

http://www.asprunner.com/forums/index.php?showtopic=3587
We plan to make a final release later this week.