Ask a Question related to ASP Database, Design and Development.
-
Laphan #1
Dynamically creating form fields from DB
Hi All
I've just been doing a basic Contact Us form and having actually structured
it for a change I noticed that a lot of repetitive and could possibly done
dynamically.
Reason I wanted to try and do it dynamically is that the admin user might
find that they want say the Country to be a required field or the size of
the postcode field should set to 20 not 10, etc.
I've always had to go into the pages and hard code these changes, but I
wanted to know if anybody had really had a go at doing this and to see if
you had any problems with it.
Only problem I can initially see is that my JavaScript validation (I prefer
to use this quicker method than the user submitting and then finding that
they've missed a field and need to re-enter) will need to be dynamically
built as well.
Also what's the preferred method for doing form validation?
Is JavaScript validation prone to errors that ASP can handle?
If I did do the ASP validation what's the best method to use if the user
goofs on a field entry (or entries)???
Is simply the case that the 1st page (ie the entry page) actually has ....
VALUE=<%=name%>..... set for each field so the 1st time the user visits the
fields are blank, but if they do anything wrong you can re-call this same
page with the filled in details of any that are correct?
Sorry there are a lot of queries in one, but I think they are all related
ones, which you might be on a roll with.
Many thanks.
Rgds
Laphan
Laphan Guest
-
Dynamically Adding Fields to Form
Anyone have any ideas on how to dynamically add input fields to a flash form with action script? I need the user to be able to add fields on the... -
Dynamically Adding Form Fields to CF Flash Form
I think I know the answer to this but, after some failed Googles, I wanted to double-check here. I have a Flash-based event registration form I'm... -
Dynamically creating fields in a flex form
Hello frieds, I am wondering if it would be possible with Flex to dynamically generate a form by quering a small databse that would return via... -
Dynamically populating form fields
I have a form that will be available for users to complete to add information to my database. When they log in they provide their department code... -
Creating Fields Dynamically
Answered my own question: Use: beginrecording set mfield=new(#field) repeat with i = 1 to 10 go to frame i sprite(3).member=mfield...



Reply With Quote

