Hi there,
I am new to developing websites. I have created checkboxes on 1 page - Insert Tender Page. I have also created the same checkboxes on another page - Submit Tender. I would like to know how I can only display or check the checkboxes that have been checked on Insert New Tender Page, on the Submit Tender page.
I thought of using a function, but am not sure which function would give me the desired results.
Thank you
Hi Sipho,
You have two options, depending on your goal.
-
If the goal is to simply pre-check the boxes on the Submit Tender page with the selections made in the Insert Tender page, Easy Passthrough will make this a breeze. It will pass through the values from one form to another in the same session.
-
If you instead want to limit the available checkboxes on the Submit Tender page with the previous selections, Populate Anything is a better choice. You could retrieve the most recent entry from the current user and populate the choices in the checkbox field on the second form from
the choices in the first form.
You’ll need this snippet to properly populate the choices since checkbox fields save their value as comma-delimited values.
Thank you Scott for Easy Passthrough addon…I love it…its working wonders for 1 of my checkboxes (Local Content Declaration).
However, I have 18 checkboxes, and in as much as I duplicated LCD checkbox (field_id = 49 from receiving form_id = 8, field_id = 23 from capturing form) behaviour, no other checkbox in Submit Tender Page inherits the Insert New Tender Page checkbox field like the LCD (Local Content Declaration) does.
Hi Scott,
This issue has been resolved by using GP Easy Passthrough. Thank you