This topic is locked

Data Entery Field

8/18/2003 1:30:23 PM
ASPRunnerPro General questions
swat author

hi,
I need to extend my Data Entery Field on ADD New / page , I would like to display one of the data field as 5 lines and 200 character max. Something like small box rather then one line.
Thx
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=148&image=1&table=forumtopics' class='bbc_emoticon' alt=':rolleyes:' />

Sergey Kornilov admin 8/20/2003

In one of the following ASPRunner version we'll add an option to set text area size explicitly. Currently you can change it manually on the edit page.
Sergey Kornilov

Support team

swat author 8/20/2003

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=470&image=1&table=forumreplies' class='bbc_emoticon' alt=':o' />

Is this new version coming soon ?

Sergey Kornilov admin 8/22/2003

Release is scheduled at the end of September. Beta version will be available for testing after September 15th.
List of new features will be posted when beta version will be ready for testing.
Sergey Kornilov

Support team

swat author 8/25/2003

In one of the following ASPRunner version we'll add an option to set text area size explicitly. Currently you can change it manually on the edit page.

Sergey Kornilov

Support team


Here is the code I have on edit page to display my tables :

if nType = 3 then

strSize=10

elseif nType = 17 then

strSize=3

else
end if
[color=blue]' date or datetime field

if IsDateField(rs.Fields.Item(i)) then

Response.Write GetDateEdit(rs.Fields.Item(i).Name, strValue, DateEditType(rs.Fields.Item(i).Name))

elseif IsLookupField(rs.Fields.Item(i).Name) then

Response.Write BuildSelectControl(rs.Fields.Item(i).Name, strValue)

elseif rs.Fields.Item(i).Type <> 201 and rs.Fields.Item(i).Type <> 203 and rs.Fields.Item(i).Type <> 11 _

and rs.Fields.Item(i).Type <> 204 and rs.Fields.Item(i).Type <> 205 then Response.Write "<input type=text name=""" & rs.Fields.Item(i).Name & """ size = " & strSize & " value=""" & strValue & """>"

[/b]
How ever I can not really able to change which row I would like to change. Let say I have 4 different input on the edit page I would like to set up like this:

Last name text area size = 20

Name text area size = 10

Description text area col=5 row=10

amounth number format.
Second question , very similar to first one in the edit.asp page how I can display some editional information regarding my input field...
Price : [color="red"]$ __ Dollars
thx

Sergey Kornilov admin 8/26/2003

You can wait until next release is ready to set field sizes explicitly using ASPRunner's UI.
Adding dollar sign before price can be done by editing field label ( adding $ after "Price" )
Sergey Kornilov

Support team

swat author 8/26/2003

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=504&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' /> IF I open my add.asp page view source Then I can save this page as test.asp .. then I can go to HTML editor to change all table fields and sizes. I can put any information before or after my data field .....This doesnt work for edit.asp( I think)
Also admin you saying I should rename my PRICE field as PRICE $ ...but this will change all my DB and asp pages....
any other easy solution <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=504&image=2&table=forumreplies' class='bbc_emoticon' alt=':(' />
Thx
Swat

Sergey Kornilov admin 8/26/2003

You need to change field label not the field name.
Sergey Kornilov

Support team

swat author 8/26/2003

field label? I could not find in the ....edit.asp page . if there is could you send me approx. line number
Thank you
Swat

Sergey Kornilov admin 8/26/2003

You can change label while generating ASP pages using ASPRunner. See "Edit field labes and format" tab, step 9 of 11.
Sergey Kornilov

Support team

M
MaxLm 8/26/2003

I CANT WAIT TO GET A COPY OF THE NEW RELEASE... IT WILL SOLVE MOST OF MY PREVIOUS QUESTIONS... THANKS.

swat author 8/26/2003

I have my DB set up already I cont go back and rerun the asprunner <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=517&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />

Please condiser this kind of future edits on your new version
Thank you