This topic is locked

Show / Hide fields in inline edit

11/5/2011 8:41:38 PM
ASPRunnerPro General questions
P
Philip author

On an EDIT page I show fields to edit depending on the value of a certain field. To achieve this I use the following code in an Before Display event (this code works fine.):



str = "select * from TABLE where ID_table=" & Request("editid1")

Set rsTemp = server.CreateObject("ADODB.Recordset")

rsTemp.open str, dbConnection
'********** fields on/off ************

if rsTemp("field")=1 then

xt.assign "field_A_fieldblock",false

else

xt.assign "field_A_fieldblock",true

end if


Now I would like to do something similar for inline edit.

Has someone an idea how to do?
Philip

P
Philip author 11/10/2011

Is there no way to do that?