Hey I’m writing some code to calculate some fields and then submit them back into the website at the end using the gform_pre_submission action. I have got the number input fields fine using rgpost( ‘input_1’) etc but I am really struggling with checkboxes. I am looking to.
Pull in checkbox values
See whether a checkbox value has been ticked
I have looked everywhere and can’t seem to find the proper answer, any help would be much appreciated.
You can use rgpost but you do have to access each checkbox choice/input separately. For example, if your checkbox field id is 2 you would access its input values like so: