hello all, I am new to VFE and I know only few basic syntax as of now.
I have 7 different estimate delivery date calculated. Now i need to pick a date based on radio button. A simple if...then statement would be
If document.radio = 'x1' then obsany(edc) = 'date1'
else document.radio = 'x2' then obsany(edc) = 'date2'
else document.radio = 'x3' then obsany(edc) = 'date3'
else ""
end
how does this translate to MEL?
thank you
{!if document.radio = 'x1' then
OBSNOW("EDC", date1)
else
if document.radio = 'x2' then
OBSNOW("EDC", date2)
else
if document.radio = 'x3' then
OBSNOW("EDC", date3)
else
""
endif
endif
endif}
Thank you jjordet. i had it as elseif with no space between else and if. I saw that in few CCC forms.