Results 1 to 5 of 5

Thread: Regarding to Multiselect popup

  1. #1
    SagarCRM's Avatar
    SagarCRM is offline Sugar Community Member
    Join Date
    Oct 2011
    Location
    Mumbai, Maharashtra, India
    Posts
    111

    Question Regarding to Multiselect popup

    Hi experts,

    i have custom module namely GameDetails and games. In Game details i have relational field of game (popup). Well i want to select and save multiple games with different records.
    I mean, I am creating game details in which i want to add 3 games. but when i'm saving it it should create 3 diff records of game details having 3 single games in it.
    OR
    I have another idea too..
    i'm creating game details in sub panel, so on click of select button of subpanel can we browse games and multi-selecting that games id should be saved in game details game_id field????

    any suggestions or any help will be thankful....


    Sugar Community Edition 6.2.0
    Last edited by SagarCRM; 2012-02-03 at 09:32 AM.
    --

    Thanks & Regards,

    Sagar Salunkhe
    Mumbai, Maharashtra, INDIA

    sagar.salunkhe1991@gmail.com

    ~~ IT professionals never dies, they just go Offline... ~~


    sugar development and support services:- indian.sugarbean@gmail.com

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Regarding to Multiselect popup

    It sounds like you have the relationship install backwards. To relate multiple games to a 'games Details' record you would need a one-to-many (or many-to-many) relationship between games and 'game details' (notice that the games is on the one side). So on 'Game details' the relationship would be expressed as a subpanel on the DetailView and not a field on the EditView.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    SagarCRM's Avatar
    SagarCRM is offline Sugar Community Member
    Join Date
    Oct 2011
    Location
    Mumbai, Maharashtra, India
    Posts
    111

    Default Re: Regarding to Multiselect popup

    hi kenneth,
    thanks for your reply..
    the scene is something like this
    I have subpanel named Game Details in which i have to select a game and its status. Game is relate field in Game details module.
    One record can have one game only. but our concern is let the user select multiple games at a time and let him modify the status individually as he wants.
    the scene is something like this:
    [IMG]\\ADVANMAIN\Sagar\multiselect.png[/IMG]
    Attached Images Attached Images  
    --

    Thanks & Regards,

    Sagar Salunkhe
    Mumbai, Maharashtra, INDIA

    sagar.salunkhe1991@gmail.com

    ~~ IT professionals never dies, they just go Offline... ~~


    sugar development and support services:- indian.sugarbean@gmail.com

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Regarding to Multiselect popup

    Yeah, that kind of thing is possible in SugarCRM but its not exposed anywhere in the UI, it would have to be custom coded. The relationship is easy but the status part would require a little custom coding to make work. Something like this

    http://www.sugarcrm.com/forums/f148/...viewing-50719/
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    SagarCRM's Avatar
    SagarCRM is offline Sugar Community Member
    Join Date
    Oct 2011
    Location
    Mumbai, Maharashtra, India
    Posts
    111

    Default Re: Regarding to Multiselect popup

    Hi Kenneth,
    thanks for your time and reply... I saw the code you as you suggested..its looking quiet complicated so i'll try and will get back to you...thank you
    --

    Thanks & Regards,

    Sagar Salunkhe
    Mumbai, Maharashtra, INDIA

    sagar.salunkhe1991@gmail.com

    ~~ IT professionals never dies, they just go Offline... ~~


    sugar development and support services:- indian.sugarbean@gmail.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. custom ACLRoles popup but no multiselect
    By kblackwell in forum Developer Help
    Replies: 1
    Last Post: 2010-04-24, 07:42 PM
  2. MultiSelect in ListView in PopUp windows
    By asmirnov in forum Developer Help
    Replies: 1
    Last Post: 2009-02-02, 10:06 AM
  3. Replies: 1
    Last Post: 2008-11-18, 07:42 AM
  4. Popup Picker + dropdowns and multiselect
    By Raven in forum Developer Help
    Replies: 0
    Last Post: 2007-01-26, 09:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •