This topic is locked

Read Only in Edit Form ?

6/6/2008 2:38:56 PM
ASPRunnerPro General questions
rossodisera author

I need to know if is it possible have an text area in add form and a read only in edit form on same field ?

S
stalbone 6/6/2008

I need to know if is it possible have an text area in add form and a read only in edit form on same field ?


Select the field, right click your mouse and go to properties. Select the "Edit as" tab and choose the "Readonly" in the options window.
Ciao

Stefano

rossodisera author 6/6/2008



Select the field, right click your mouse and go to properties. Select the "Edit as" tab and choose the "Readonly" in the options window.
Ciao

Stefano


If i change in read only ikn "edit as" it change in "add as" too. I need have Text Area in "Add as" and read only in "Edit as".
Ciao

Angelo

J
joseph83 6/8/2008

I think this topic at the below, will give you some idea.don't change your add page,You can use this js code only in edit page.
http://www.asprunner.com/forums/index.php?showtopic=6768

J
Jane 6/18/2008

Hi,
you can do the following:

  1. edit your SQL query on the Edit SQL query tab:
    select field1,

    field2,

    field2 as field2_edit,

    ...

    from TableName


2. check field2 on the add page, field2_edit on teh edit page on the Choose fields tab,

2. set up different formats for these fields on the "Edit as" settings dialog on the Visual Editor tab.