• Hello, i would like to change a select option value checking the value of the option in select field before (like if its 5 years before, then i want it to be 5 years * 5 in the next select field) i hope u get me, i guess its with the form render get field but i cant do the code could u help me ?

    Like :

    ” if( ‘fld1’ == $field[ ‘ID’ ] ){
    if($field[ ‘config’ ][ ‘option’ ] = 5 then $field[‘Id = fId2’][‘config’][‘option’] = 5*5;
    } ”

    also the round function doesnt work with second args(for decimal after comma, it always round by integer)

The topic ‘Round function and render form get field change option value’ is closed to new replies.