Link a clickable image to a checkbox

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
geordaa
Posts: 2
Joined: 2015-07-21 10:54

Link a clickable image to a checkbox

Post by geordaa » 2016-03-19 18:19

Has anyone tried this? I'm considering a "Rating" app. The user is presented with three options - SmileyFace, MehFace, SadFace. The user selects one of the options, which sets the appropriate check box in the table and a new record is created with date time stamp. Not sure where to start - even replacing checkbox text with an image would be good enough. Thoughts?

Regards,

Dave

grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

Re: Link a clickable image to a checkbox

Post by grimblefritz » 2016-03-20 20:34

Sounds like a variation on this (from the Support page): http://bigprof.com/appgini/tips-and-tut ... eview-data

geordaa
Posts: 2
Joined: 2015-07-21 10:54

Re: Link a clickable image to a checkbox

Post by geordaa » 2016-03-21 08:43

Thanks for the reply - and yes, I had read through that. But request is slightly different. In the below image, I have 4 fields - Score has three choices of a combo, whilst Good, Average and Bad are all independent fields. At a minimum, I would like to replace the text of the three independent fields with an image, whilst at best I would like to replace the text in the combo with images.
rating question.JPG
rating question.JPG (16.04 KiB) Viewed 4799 times
The example of using hooks in the table view translates a value to an image, which in itself is awesome, but I'm interested in replacing the field text attribute.

Regards,

Dave

grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

Re: Link a clickable image to a checkbox

Post by grimblefritz » 2016-03-21 12:47

I see. In that case, I would post-process the AppGini output and replace the radio label text with images.

There is a limit to what AG can do, so I almost always post-process for adding bells and whistles. For me, adding another fix-up wouldn't be a problem.

My usual process is build, post-process, upload/test. It adds an extra step, and another layer to be mindful of when making changes, but it's not such a hardship considering the work AG saves.

There might be some CSS technique to do this, but I'm not all that good with CSS and wouldn't know where to hook it into AG either.

peteraj
Posts: 27
Joined: 2016-02-05 12:25

Re: Link a clickable image to a checkbox

Post by peteraj » 2016-04-13 18:50

Hi Dave,

Have you found a solution to your challenge? I am working with something similar, and would like to hear yours, or anyone else suggestion!

Best Regards
Peter

Post Reply