How java script will work when field editor component in edit mode?

I have written javascript it’s working only when "field editor” is on “read and edit inline” mode ,It’s
not working when “field editor”  is on “edit” mode .


I think you have a custom render (javascript) that works in ‘read and edit inline’ mode, but not ‘edit’ mode.  You will need to add to your javascript snippet some code to tell Skuid what to display when in ‘edit’ mode.  Here is a simple example:

<br>//render the field in read and edit mode<br>if(field.mode == 'read') {<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp;, value);<br>}<br>if(field.mode == 'edit') {<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; skuid.ui.fieldRenderers.STRING.edit(field, value);<br>}



Thanks Bill.