This topic is locked

readonly field can add on addpage

1/4/2010 6:12:44 AM
PHPRunner General questions
A
agijare author

i want to display department field in info page i kept that field read only but when i go to info_add page then that field is not coming help me if u can....

R
ringlis1 1/4/2010

In the CHOOSE FIELDS portion of PHPR, do you have that field selected to show in the add portion?

A
agijare author 1/4/2010

i choose read only from wizard but i want that field read only on edit page but for add page i want that field should come and will add.

R
ringlis1 1/4/2010

Before you get to the VISUAL EDITOR, there is a fields list where you can choose which fields are shown on the different pages. Have you checked the box for this field first?

A
agijare author 1/4/2010

yes i checked all that filed i have a table called info i have three fields name,email,address. i checked all three field before visual editor as u told, after i kept readonly address field when i goto info_add.php page that filed value and that textbox is not coming while i want that.because i want that field should not edit on info_edit page thats why i kept that field readonly.

R
ringlis1 1/4/2010

OK, just to make sure, on the CHOOSE FIELD area, you selected the fields on left side of the table. Then there are additional fields ...ADD, EDIT, VIEW...
You selected in the ADD area for your field to show?
If you turn the READ ONLY off, does this make your record show?
What is the link to your site to view your form?

R
ringlis1 1/4/2010

Just checking, do you want the field to be READ ONLY on the add page? or its not showing up at all?

???

A
agijare author 1/4/2010

i selected Add new,Edit record,List page.i selected read only for particular adress textbox in edit page but it effects on add page also.

A
agijare author 1/4/2010

no i dont want readonly for addpage.

R
ringlis1 1/4/2010

If you turn off the READ ONLY does the field work or it still produces the same result?
Did you add any permissions for users when they log in?

A
agijare author 1/4/2010

when i trunoff the readonly it seems good but on the edit page it is editable and i dont want this.

A
agijare author 1/4/2010

i want it shouldnot edit on editpage but should add on addpage.

R
ringlis1 1/4/2010

You may need to upload your script to the demo area so that tech support can look at it.
You should be able to select read only on the edit page and not affect the add page. I have several pages that do this without any issues.