dear friends on seblod community
first i would like to say that seblod is great. We can do anything that we want with it
and then i was using the core 42 and had some hard time figuring out what it was.
i was finally able to solve my problem and since there is not that much document on the subject i decided to share with everyone here so you can use this method too:
let’s say that we wanted to use some field value to create an “if else” statement or process that information a bit
first we create a core42 field and add this code to the “prepare store” section:
$input = JFactory::getApplication()->input;
//this returns the value of your filed:
$v = $input->get('name_of_your_field', '', 'post');
if (($v > 84) && ($v <= 100))
{
$r = "A";
}
elseif (($v > 69) && ($v <= 84))
{.......
//the rest of your process goes here
///and then
$value = $r;
// $r is the result that you want to store
again,seblod is a very good tool for creating webapps
respects