×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Dynamic DropDown list

Dynamic DropDown list

Dynamic DropDown list

(OP)
Hi there,

im working with webfocus not so long.
Now i have to create a dynamic dropdown list in webfocus.

when i select left box category1, then right box should give me the values for this object.

when i select left box category2, then right box should give me the values for this object.

[img http://img505.imageshack.us/img505/8743/drop1wk3.png]
[img http://img377.imageshack.us/img377/6269/drop2ap6.png]

can u give me examlpes or in which documentation i can look. i already searched but i cant find help for this example.

thx for ur help
brian

RE: Dynamic DropDown list

(OP)
forget to mentioned, that i get the values from sql statement in the fex-file.

RE: Dynamic DropDown list

You need a 2-step-method. There are (as allways) several solutions:

1. solution:
First fill the first box using a SQL-statement. Then, when the user selects a value in the first box, trip a second SQL-request and fill the second box with the corresponding values.
This will trip 2 requests to your DB and might seem to be inefficient. However it is very efficient.

2. solution:
First fill both the boxes with the values. In your javascript (client-side) you can deside wether a value is to be shown or not.
This is more complex on the client-side. And you still need to execute 2 SQL-statements to your DB.  

Frank van de Kant
http://www.explicit.nl

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close