Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
On Add/Edit Page, I want a field value to be stored in database with negative.If input is 50. It should be stored in database as -50How to handle it?
This sounds like a job for BeforeAdd & BeforeEdit events. It can be something simple like this:
$values["FieldName"] = $values["FieldName"] * -1;
Thanks for easy solution.