March 9, 200520 yr Author Is it posible for someont to click a radio button (ex. #4 of 5) and it displays 4 stars instead of the radip button?? It should work like http://cdn.nflximg.com/us/pages/widget/stars_2_30.gif Thanks TMAS
March 9, 200520 yr Is it posible for someont to click a radio button (ex. #4 of 5) and it displays 4 stars instead of the radip button?? It should work like http://cdn.nflximg.com/us/pages/widget/stars_2_30.gif Thanks TMAS
March 9, 200520 yr Author Is it posible for someont to click a radio button (ex. #4 of 5) and it displays 4 stars instead of the radip button?? It should work like http://cdn.nflximg.com/us/pages/widget/stars_2_30.gif Thanks TMAS
March 9, 200520 yr not instead of, but you could create a calc container field that looks at the value in the radio button field and pulls a graphic for that qty of stars
March 9, 200520 yr not instead of, but you could create a calc container field that looks at the value in the radio button field and pulls a graphic for that qty of stars
March 9, 200520 yr not instead of, but you could create a calc container field that looks at the value in the radio button field and pulls a graphic for that qty of stars
March 9, 200520 yr You could create the calced fields like Andy suggested, and lay an "invisible" button over each one. The button will trigger a script, and then the script will do what it needs to do. So, you'll have 5 calced fields, five "invisible" buttons, and five scripts. Well, only one script if you use script parameters. This way you won't even need to worry about Radio Buttons at all.
March 9, 200520 yr You could create the calced fields like Andy suggested, and lay an "invisible" button over each one. The button will trigger a script, and then the script will do what it needs to do. So, you'll have 5 calced fields, five "invisible" buttons, and five scripts. Well, only one script if you use script parameters. This way you won't even need to worry about Radio Buttons at all.
March 9, 200520 yr You could create the calced fields like Andy suggested, and lay an "invisible" button over each one. The button will trigger a script, and then the script will do what it needs to do. So, you'll have 5 calced fields, five "invisible" buttons, and five scripts. Well, only one script if you use script parameters. This way you won't even need to worry about Radio Buttons at all.
March 9, 200520 yr ok, depends on your table structure. I will base this out of a single table occurence. If you have more, you amy want to dedicate a table to items such as graphics. Create a container field (lets call it Star_images) This needs to be a repeating field with 5 repetitions(set in the options under storage to 5. Also check the global storage option) Now, place your stars in these repetitions, with number 1 containing your 1 star graphic (that is the entire graphic by the way, including the stars not selected) up to the fifth repetition Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) HTH
March 9, 200520 yr ok, depends on your table structure. I will base this out of a single table occurence. If you have more, you amy want to dedicate a table to items such as graphics. Create a container field (lets call it Star_images) This needs to be a repeating field with 5 repetitions(set in the options under storage to 5. Also check the global storage option) Now, place your stars in these repetitions, with number 1 containing your 1 star graphic (that is the entire graphic by the way, including the stars not selected) up to the fifth repetition Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) HTH
March 9, 200520 yr ok, depends on your table structure. I will base this out of a single table occurence. If you have more, you amy want to dedicate a table to items such as graphics. Create a container field (lets call it Star_images) This needs to be a repeating field with 5 repetitions(set in the options under storage to 5. Also check the global storage option) Now, place your stars in these repetitions, with number 1 containing your 1 star graphic (that is the entire graphic by the way, including the stars not selected) up to the fifth repetition Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) HTH
March 9, 200520 yr Author Sorry, I got lost @ Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) I attached the file! Thanks for your help!
March 9, 200520 yr Author Sorry, I got lost @ Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) I attached the file! Thanks for your help!
March 9, 200520 yr Author Sorry, I got lost @ Now, your calculation to display the correct image based on the radio button This is a calculation field with a result of container GetRepetition ( Star_images; Your radio button field here ) I attached the file! Thanks for your help! Starz.fp7.zip
March 9, 200520 yr Ooops late post... sorry Andy. ------------------------------------------------------------------- Create a repeating container field. The repeating field show be six containers. 0-5 stars. Then create 6 buttons. You can pass a parameter via each button to one generic script. I have made a mock up for you. Take a look at the code and how the parameter is passed. Those grey button are the same buttons taht are under the stars calculation image field; however being invisible. Good luck.
March 9, 200520 yr Ooops late post... sorry Andy. ------------------------------------------------------------------- Create a repeating container field. The repeating field show be six containers. 0-5 stars. Then create 6 buttons. You can pass a parameter via each button to one generic script. I have made a mock up for you. Take a look at the code and how the parameter is passed. Those grey button are the same buttons taht are under the stars calculation image field; however being invisible. Good luck.
March 9, 200520 yr Ooops late post... sorry Andy. ------------------------------------------------------------------- Create a repeating container field. The repeating field show be six containers. 0-5 stars. Then create 6 buttons. You can pass a parameter via each button to one generic script. I have made a mock up for you. Take a look at the code and how the parameter is passed. Those grey button are the same buttons taht are under the stars calculation image field; however being invisible. Good luck. stars.zip
March 9, 200520 yr There you go - John's works too. Hey, it is all good. Same principle, just with a button to set the previous radio field to a value. Just don't get confused by the current number stars field being 1 greater than the actual count (this is due to having a zero star setting as repetition 1. Well, just for the fun, here is the version I was working on. Same result, just no scripts Other than that, good job. Beat me to uploading my working version!!!!
March 9, 200520 yr There you go - John's works too. Hey, it is all good. Same principle, just with a button to set the previous radio field to a value. Just don't get confused by the current number stars field being 1 greater than the actual count (this is due to having a zero star setting as repetition 1. Well, just for the fun, here is the version I was working on. Same result, just no scripts Other than that, good job. Beat me to uploading my working version!!!!
March 9, 200520 yr There you go - John's works too. Hey, it is all good. Same principle, just with a button to set the previous radio field to a value. Just don't get confused by the current number stars field being 1 greater than the actual count (this is due to having a zero star setting as repetition 1. Well, just for the fun, here is the version I was working on. Same result, just no scripts Other than that, good job. Beat me to uploading my working version!!!! Starz.zip
March 9, 200520 yr Author Sorry me again! I just tried to re-create the solution into a new one and I have to say I do not know where you get the Yellow stars and the gray one in the cstars field. I copied the gray stars into the container field but now I'm stuck! Sorry!
March 9, 200520 yr Author Sorry me again! I just tried to re-create the solution into a new one and I have to say I do not know where you get the Yellow stars and the gray one in the cstars field. I copied the gray stars into the container field but now I'm stuck! Sorry!
March 9, 200520 yr Author Sorry me again! I just tried to re-create the solution into a new one and I have to say I do not know where you get the Yellow stars and the gray one in the cstars field. I copied the gray stars into the container field but now I'm stuck! Sorry!
March 9, 200520 yr Hi, you need to copy the full set of stars. So, repetition 1 is 5 gray starys. repetition 2 is 1 yellow with 4 gray. and so on. You could just copy and paste from the container fields on the Working layout into your container fields.
March 9, 200520 yr Hi, you need to copy the full set of stars. So, repetition 1 is 5 gray starys. repetition 2 is 1 yellow with 4 gray. and so on. You could just copy and paste from the container fields on the Working layout into your container fields.
March 9, 200520 yr Hi, you need to copy the full set of stars. So, repetition 1 is 5 gray starys. repetition 2 is 1 yellow with 4 gray. and so on. You could just copy and paste from the container fields on the Working layout into your container fields.
March 10, 200520 yr Author So there is a slight problem sometimes when you create new records the stars do not show up! I use global storage for the container field! TMAS
March 10, 200520 yr Author So there is a slight problem sometimes when you create new records the stars do not show up! I use global storage for the container field! TMAS
March 10, 200520 yr Author So there is a slight problem sometimes when you create new records the stars do not show up! I use global storage for the container field! TMAS
March 10, 200520 yr Hi - Make sure your rating field has an auto enter value of 1, This will cause the calc to display the 5 gray stars.
March 10, 200520 yr Hi - Make sure your rating field has an auto enter value of 1, This will cause the calc to display the 5 gray stars.
March 10, 200520 yr Hi - Make sure your rating field has an auto enter value of 1, This will cause the calc to display the 5 gray stars.
March 14, 200520 yr Author So I checked the files you posted and if you press new record the stars are gone too! Hmmmm Thanks TMAS
March 14, 200520 yr Author So I checked the files you posted and if you press new record the stars are gone too! Hmmmm Thanks TMAS
March 14, 200520 yr Author So I checked the files you posted and if you press new record the stars are gone too! Hmmmm Thanks TMAS
March 14, 200520 yr as andy had said, and if you re look at the demo I posted, you will see that the field, current_num_stars has an auto entry calculation of 1. This sets up the field to have 0 stars each time a new record is created.
March 14, 200520 yr as andy had said, and if you re look at the demo I posted, you will see that the field, current_num_stars has an auto entry calculation of 1. This sets up the field to have 0 stars each time a new record is created.
March 14, 200520 yr as andy had said, and if you re look at the demo I posted, you will see that the field, current_num_stars has an auto entry calculation of 1. This sets up the field to have 0 stars each time a new record is created.
March 14, 200520 yr Author Yes both the one I re-created or any example here that has a calculated value 1 in the field wont create gray stars on creating a new record! Thanks TMAS
March 14, 200520 yr Author Yes both the one I re-created or any example here that has a calculated value 1 in the field wont create gray stars on creating a new record! Thanks TMAS
Create an account or sign in to comment