We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
I have two tables in a DB:
person
person_phone
I have a page in WordPress that accepts a person_id parameter and shows details about that person. I'm trying to use wpDataTables to show the phone numbers associated with the person. The display is working well as I'm using %VAR1% to pass in the person_id. When adding a record, I have person_id being defaulted to %VAR1% which is also working, but I would like to not have the person_id be shown or editable by the user in the New record dialog. Is there a way to hide that field, but still pass the data to the DB?
Thanks,
Carl
Hi Carl,
Thank you for your purchase.
Easiest way would be to just hide the input with CSS. Other option would be to use our built in hooks like wpdatatables_filter_frontend_formdata( $formData, $tableId ) to intercept the data sent from the frontend and add necessary changes (for example current_user_id to person_id column) - Documentation
Great tips. I’m sure one of those will work.
Thanks!
Carl