Is it possibile to create a multiple choice custom filed?
e.g. from a list of events from event1 to event9, this contact partecipated at event2, event5 and event7.
Any suggestion?
Thank you in advance.
Simone
Is it possibile to create a multiple choice custom filed?
e.g. from a list of events from event1 to event9, this contact partecipated at event2, event5 and event7.
Any suggestion?
Thank you in advance.
Simone
Anyone has a clue?
Please, is very important to me. Any ideas? A workaround?
Thakxxx!
Simone
I did something like this to organize the states that a company did business in. I have a text box to keep the state abbrv. this is also read-only. I then created a popup window with checkboxes for each state, The popup window reads in the current state list and sets them checked it listed. Then after the user checks and unchecks the desired states he clicks ok and the states are listed comma seperated in alphabetical order into the text box. I did this by using sugar to create the text field and then editing the html file myself to make the field read only and create the popup link. The value of the field can be captured using javascript.
FYI - Radio buttons will be available via the Studio Layout Editor in SugarCRM 4.5
-Sadek
I've made myself one of these and it's working. MostlyOriginally Posted by aheuermann
I can't get the check boxes to check on loading the window
function fillonload(){
loadstring = opener.document.EditView.grouplist_member_c.value;
loadedarray = loadstring.split("\n");
for (i=0; i < loadedarray.length; i++){
for (j=0; j < 15; j++){
if (document.inputForm1.group[j].value == loadedarray[i]){
document.inputForm1.group[j].checked = true;
}
}
}
}
It has something to do with javascript not using the if statement correctly. If I type in a string instead of "loadedarray[i]" then it evaluates as true. If there is another way to mark my checkboxes as checked based on an array of values, I'd appreciate the help
I figured it out, apparently it doesn't like me using "\n" as a dividing char. if i use "; " it works happily
Try loadstring.split("\\n"); ?Originally Posted by mrobertson
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks