Inserting Static text into an edit form field |
5/12/2008 5:47:27 PM |
ASPRunnerPro General questions | |
![]() From my list page the user clicks edit. I would like 2 fields in that edit form to be something other than what's actually in the database (static text or empty). |
|
J
|
Jane 5/13/2008 |
Hi, |
![]() |
jadach authorDevClub member 5/13/2008 |
I'm using the edit page to be more of an input (add page) than anything else. Hi, I'm not sure that I understand you correctly. If you don't want to allow users to edit field set up this field as readonly on the "Edit as" settings dialog on the Visual Editor tab. Add default value if needed on the same dialog. |
J
|
Jane 5/14/2008 |
Hi, smarty("value_FieldName1") = "" smarty("value_FieldName2") = 0 |
![]() |
jadach authorDevClub member 5/16/2008 |
Thank you Jane. Hi, I see what you're saying. Use Edit page: Before display event on the Events tab for this purpose. Here is a sample code: |