Announcement

Collapse
No announcement yet.

Add elements to a select field (links menu type) dinamically

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add elements to a select field (links menu type) dinamically

    Hello Guys:

    I'm trying to create a form wish adds or removes options from a select (link meny type) dinamically depending on the type of user. do you gusy have any idea about how that can be done?.

    Regards

  • kafecadm
    replied
    Thank you again Albert:

    Tho, i think a good addition to scriptcase would be a macro to add or remove elements from a manual select, such as dropdownlist or checkbox, dinamically.

    Don't you think?.

    Regards

    Leave a comment:


  • aducom
    replied
    Most of SC is database driven. Select fields can be loaded by calling applications, but I never used that. But you can always generate your own field by using javascript as an escape.

    Leave a comment:


  • kafecadm
    replied
    So the only way is by using an SQL statement?

    Regards

    Leave a comment:


  • aducom
    replied
    Yes, you need to make your sql dynamic by using a variable like:

    where myarg = [myarg_from_an_event];

    In general you can generate the autoselect, but you are allowed to change the generated sql statement to your needs.

    Leave a comment:

Working...
X