Forum Replies Created
-
AuthorPosts
-
Ahmed E.
ParticipantHi Peter,
The problem is not permanent, as I said it happens during the update process of the plugin.
So, I believe it is related to the update not the plugin itself.
During the update, the plugin might disables all the child plugins (addons) which causes the problem.
June 14, 2023 at 10:37 PM in reply to: Select Advanced: Populate Options from Custom Model based on another field value #42206Ahmed E.
ParticipantHi Peter,
I can easily build the callback function, the only problem is how to get the object ID inside the callback function in order to be able to populate the options?
June 13, 2023 at 9:27 PM in reply to: Select Advanced: Populate Options from Custom Model based on another field value #42183Ahmed E.
ParticipantHi Peter,
Thanks for your reply.
I know Custom Models are not yet supported by relationships extension and I am not looking for a customization service.
My questions are:
What is the filter/action for setting the field options?
How to get box fields’ values inside the callback function?Ahmed E.
ParticipantHi Peter,
I've created the table manually since the feature is not working.
Currently, there is another problem.
Is there a filter that runs only when a new record is created (does not work on updates) and has access to form data?
Basically, I'm looking for a Custom Model filter similar to
rwmb_before_save_postthat runs only once when a new record is inserted.I'm recording the user's IP in the DB, and if the filter runs on updates, the IP of the admin/editor will be updated!
T.I.A.
May 12, 2023 at 9:31 PM in reply to: Post Field: 'Set as Parent' Does not save field value in Custom DB Table #41813Ahmed E.
ParticipantHi Peter,
Thanks for your reply.
Can you please consider adding this feature in future releases?
Regarding saving it manually, is there a way to attach a field to
rwmb_request()->set_post_data($_POST)?May 4, 2023 at 8:46 AM in reply to: Populate Autocomplete Field with saved data from Database #41697Ahmed E.
ParticipantHi Peter,
Thanks for your reply.I have tried it but it didn’t work as it accepts an array of values only, so I can’t show the city name but it’s ID only which is not what I’m looking for.
I have tried a [value => label] array, but both the input label and value were the label and the value was not used at all!
Is there any other way to do it rather than
rwmb_{$field_id}_field_htmlwhich I had to use?May 2, 2023 at 5:00 PM in reply to: Populate Autocomplete Field with saved data from Database #41678Ahmed E.
Participant
-
AuthorPosts