Checkbox value not returned correctly on View Page

Posted by IramK on 05-Feb-2015 08:47

Hello,

I am trying to get the value of my checkbox on the view page of my record and every time I try to get the value whether it is checked or unchecked it comes back with a false or 0 value. I have attached a screenshot of it. 

I have tried using jquery, rbf_isChecked() function and I still get a false or unchecked value back. Could you please let me know what the problem is?

Posted by Godfrey Sorita on 05-Feb-2015 09:43

I agree. It's a nice-to-have feature of the template helper UI. If you want, you can post this enhancement request to the ideas section (https://community.progress.com/community_groups/products_enhancements/i/rollbase/default.aspx).

All Replies

Posted by Godfrey Sorita on 05-Feb-2015 09:11

Hi Iram,

I was able to reproduce the issue and I think rbf_isChecked() only works on pages with forms (e.g. new, edit, status change). Anyway, since you're on the view page, tokens can be directly used because the values displayed in the UI are the ones stored in the database.


Regards,
Godfrey

Posted by IramK on 05-Feb-2015 09:16

I think that works fine using tokens but if we cannot use the rbf_isChecked() on the View page, we shouldn't be allowed to see those functions in my opinion.

Posted by Godfrey Sorita on 05-Feb-2015 09:43

I agree. It's a nice-to-have feature of the template helper UI. If you want, you can post this enhancement request to the ideas section (https://community.progress.com/community_groups/products_enhancements/i/rollbase/default.aspx).

Posted by IramK on 26-Jun-2015 10:21
This thread is closed