Ask a Question related to Dreamweaver AppDev, Design and Development.
-
galeemma #1
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 which is saved as a
session variable. What I want to do is when they click the link to "ADD DATA"
- I would like the cells of the table that contain the information relevant to
that department for instance, manager, location etc to fill automatically. I
can get the department number to display on the form as this is the session
variable but it doesnt update in the database and leaves a blank field. Some
of the remainnig fields will be input fields that they will provide the
information for which I have updating the database nicely. Other bits of
information wil be relevant to the session variable but pulled from the
recordset.
Is this possible? Help will be gratefullly appreciated.
Kind regards
Emma Gale
galeemma 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 Populating comboBox
Hi There, I have a combo box which is dynamically populated from a Database. The problem is I can not load the actionScript function which... -
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 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... -
Nancy Gill #2
Re: Dynamically populating form fields
Sure .. filter the recordset by the session variable and bind the columns
that are to be autofilled to the text fields that should already be filled
in.
--
Nancy Gill
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"galeemma" <webforumsuser@macromedia.com> wrote in message
news:d48fie$ej7$1@forums.macromedia.com...information> I have a form that will be available for users to complete to addDATA"> to my database.
>
> When they log in they provide their department code which is saved as a
> session variable. What I want to do is when they click the link to "ADDrelevant to> - I would like the cells of the table that contain the informationI> that department for instance, manager, location etc to fill automatically.session> can get the department number to display on the form as this is theSome> variable but it doesnt update in the database and leaves a blank field.> of the remainnig fields will be input fields that they will provide the
> information for which I have updating the database nicely. Other bits of
> information wil be relevant to the session variable but pulled from the
> recordset.
>
> Is this possible? Help will be gratefullly appreciated.
>
> Kind regards
> Emma Gale
>
>
Nancy Gill Guest
-
galeemma #3
Re: Dynamically populating form fields
Thank you Nancy,
I take it that means that I have to include text fields. I did think about
that but I was hoping that there would be a way that would allow me to do this
without allowing ther user to edit them.
best wishes emma
galeemma Guest
-
CarlGrint #4
Re: Dynamically populating form fields
You could add Hidden fields, so the data is not show, but is still available to
you to add into the database via your form.
Originally posted by: galeemma
Thank you Nancy,
I take it that means that I have to include text fields. I did think about
that but I was hoping that there would be a way that would allow me to do this
without allowing ther user to edit them.
best wishes emma
CarlGrint Guest
-
Nancy Gill #5
Re: Dynamically populating form fields
Yes, definitely .. Just set a name for your hidden field and bind the active
column to the hidden field rather than a text field. As long as the hidden
field is within the form parameter, you will still see the field in the
Insert Record behavior.
--
Nancy Gill
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
[url]http://www.macromedia.com/go/team/[/url]
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"CarlGrint" <webforumsuser@macromedia.com> wrote in message
news:d48j52$k8e$1@forums.macromedia.com...available to> You could add Hidden fields, so the data is not show, but is stillabout> you to add into the database via your form.
>
> Originally posted by: galeemma
> Thank you Nancy,
>
> I take it that means that I have to include text fields. I did thinkthis> that but I was hoping that there would be a way that would allow me to do> without allowing ther user to edit them.
>
> best wishes emma
>
>
>
Nancy Gill Guest



Reply With Quote

