The way I've done something like that before is to put HTML code in the checkbox column that creates the checkbox, i.e., input type="checkbox" and then make its ID dynamic so that it includes the entry id, e.g., id="select_[id]". You'll need a button to click to do the update. Then I have jQuery that on the button click, makes an ajax call, passing it all the selected ids and then in the PHP program you parse out that list and either issue a single SQL update command or you can loop over entry id and use FrmEntryMeta::update_entry_meta() to change the value. NOTE: FrmEntryMeta::update_entry_meta will only work if there's a value and you want to change it. If there's no value there, you'll have to use FrmEntryMeta::add_entry_meta()
Please login or Register to submit your answer