Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7187 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted

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

Posted

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

Posted

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

Posted

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!

Posted

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!

Posted

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

Posted

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.

Posted

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.

Posted

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

Posted

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!!!!

Posted

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!!!!

Posted

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

Posted

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!

Posted

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!

Posted

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!

Posted

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.

Posted

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.

Posted

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.

This topic is 7187 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.