setting the form processing

runza

Member
hie

i would like to know how to process the form in order
to get a calc element date that display correctly

i don't need that the user see the element calc display when the record
the two date but i need that the element calc don't display above


best regard
philippe
 

Attachments

  • 1.gif
    1.gif
    14 KB · Views: 138
  • 2.gif
    2.gif
    18.7 KB · Views: 146
You need to 'return' a value in your calc.

So
Code:
if ($foo = 'something') {
return $bar;
}
else
{
return  $somethingelse;
}

I think that's what you mean....
 
so i must substitute echo by return , it seem to work

now i undersand the difference between echo and return
thanks
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top