March 6, 200916 yr I'm trying to indicate rating of the quality or importance of the record by having a field called rating, and ideally, i want it to be a five-star rating system like in Bento. Is there an easy way to do this? If not, I'd rather make it some graphical representation rather than entering an integer value. Please let me know if star or some other things can be used in FMP, and if not, what people do about it? Thanks Edited March 6, 200916 yr by Guest
March 6, 200916 yr if you put a value in to a number field 1 - 5 then have another field evaluate the value in a separate calculation: - you can use any cross platform font dingbat... Choose ( starField ; "" ; ""; "" ; "" ; "" ; "" )
March 6, 200916 yr Author Thanks, that's a good idea for the display part, but I'd still have to type a number. It'd be nice if I could just click on the star to set the rating... I'm doing this partly for speed of going though many records.
March 6, 200916 yr I have a déjà vu about this, but I can't find the old thread. Anyway, with conditional formatting it should be even simpler now: Star_Rating.fp7.zip
March 6, 200916 yr Very slick. Thanks comment. Was doing with containers. Just tested your file xplat with a itunes like 'star'. (see attached) Wingdings: Works xplat (poss gotcha: don't think wingdings was sys font before leopard (10.5) but installed with IE or MS Office.) Zaph Digbats: Doesn't seem to work xplat with OSX 10.4. Poss as diff font name across platform? (think addressed in 10.5 still on 10.4 here) NB: Used FM on XP to apply. Star_Rating_test.zip Edited March 6, 200916 yr by Guest added file
March 6, 200916 yr Author Awesome. Now I try to figure out how this works and incorporate to my database. Is there a way to see how things are connected/programmed in a glance? I'm more used to traditional computer languages (like Ruby, shell script or even C) and not very savvy about the GUI driven stuff... how can I see the "source?"
March 6, 200916 yr The file is unlocked and open for your inspection (that's a good way to learn, BTW). I make them because it's easier than trying to explain.
October 27, 200916 yr Newbies Is it just me or do these buttons not work when viewed using firefox or safari? I tried hosting the sample file and they don't seem to do much but it certainly works when viewed within fm pro. Thanks!
September 8, 201015 yr This star-rating is exactly what I need. In my database, I replicated the field, script and conditional formatting. Alas, I cannot get this to work. Clicking on any star doesn't change, and it just clears the manually typed rating number from the text field. I must have missed something.... Edited September 8, 201015 yr by Guest
September 14, 201015 yr For those who can't get it to work, it took me a couple of minutes to figure out how it worked... basically there is an invisible button object BEHIND the star symbols that has a script trigger, while the symbols are just dormant responsive conditional formatted objects (i.e. they only react to what the rating value is). It is these invisible buttons that actually change the rating value - they have parameters from 1 to 5. Drag a symbol away and drag-select over the leftover space - you'll see the outline of the invisible box. Hope this helped.
Create an account or sign in to comment