Log in | Register | Lost password

Bottom
How to preselect Dropdown fields (XML Form)
  • Posted: 22.11.2008, 10:58
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hello there :-)

    Please can somebody tell me how to preselect a dropdown field?

    Currently im just able to do so with text or numeric fields.

    Example:

    Code

    <a href="index.php?module=Pagesetter&func=pubedit&tid=1&set_int_art_no=12345">CreatePub</a>


    In this case int_art_no is an integer field and
    within the form the value i've set has already been entered automatically
    when i use a Link like this one above.

    If i try to set a value vor a Dropdown field it doesnt work.

    I have no clue how to get this working, please help me :roll:
  • Posted: 23.11.2008, 22:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    go into pagesetter administration and select your list. Take a look at the id of the value you want to preselect. for example if you have a field "area" and a list:
    Area1 (1710)
    Area2 (1711)
    Area3 (1712)
    and you want preselect area2,
    index.php?module=Pagesetter&func=pubedit&tid=1&set_area=1711
  • Posted: 24.11.2008, 05:03
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Good morning!

    I'm quiet sure i tried it like this, but i will try again.

    Many thanks in advance.

    BR,
    Dirk Thiele
  • Posted: 05.12.2008, 13:05
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I don't know what went wrong the first time but now with your description it works :-)

    Thanks a lot!

Template courtesy of Designs By Darren.