G
gwf
Guest
OK, stumped again... I want to use a script component on a portal page to loop through records and display fields in a table. Everthing works fine if it's with a token within html: {!#LOOP_BEGIN.all#112247192} p It's a {!product_name} /br /p {!#LOOP_END.all} But when I try to get the field value inside script, I can't get it to work: {!#LOOP_BEGIN.all#112247192} script var text = {!product_name}; document.write(text); /script {!#LOOP_END.all} (Although the odd thing is it seems to work for numeric fields, but not text fields.) I've tried everything I can think of - with #EVAL[] blocks, all the rbf and rbv api queries related to "getField"... what am I missing??
Continue reading...
Continue reading...