Tuesday, March 23, 2010

cfformgroup cfselect not working on...

Hello,



For some reason my cfformgroup with cfselect/option is
working on my local system, but when uploaded the drop down select
is empty. Any idea why this would happen?



%26lt;cfformgroup type=''horizontal'' label=''Choose the
option''%26gt;

%26lt;cfselect multiple=''no'' name=''txt_type'' width=''224''%26gt;

%26lt;option value=''option1''%26gt;1%26lt;/option%26gt;

%26lt;option value=''option2''%26gt;2%26lt;/option%26gt;

%26lt;option value=''option3''%26gt;3%26lt;/option%26gt;

%26lt;option value=''option4''%26gt;4%26lt;/option%26gt;

%26lt;/cfselect%26gt;

%26lt;/cfformgroup%26gt;cfformgroup cfselect not working on...
I do see an error in IE and FF stating ''lc_id is not
defined''. This points to ''document.write('' height='300' '');''. The
only place this value is set is in the ''%26lt;cfform
action=''email.cfm'' format=''flash'' height=''300'' method=''post''
width=''510''%26gt;''cfformgroup cfselect not working on...
I may have found a fix, looks like the host may be missing
the CF Scripts. I'll see about getting them uploaded and
retry.
Yup, that did it. I couldn't get to the CFIDE on the server
or they didn't have a mapping to it, so I copied the scripts folder
and pointed to it in my header script section. Like this:



%26lt;script type=''text/javascript''
src=''scripts/cfform.js''%26gt;%26lt;/script%26gt;

%26lt;script type=''text/javascript''
src=''scripts/masks.js''%26gt;%26lt;/script%26gt;

%26lt;script type=''text/javascript'' charset='utf-8'
src='scripts/cfformhistory.js'%26gt;%26lt;/script%26gt;



The lc_id error is actually related to the cfformhistory.js
file.
  • ink cartridge
  • trilogy
  • pop beauty
  • No comments:

    Post a Comment