• Resolved kebhin

    (@kebhin)


    When adding a new row to a child table, after it is submitted most of the parent table fields are greyed-out and cannot be changed (exceptions seem to be date and time-picker fields)

    Is it possible to disable the search box? (I can’t find it in the documentation). My child tables only contain 1 or 2 entries and it makes no sense to search, the box is a distraction

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin,

    Apologies for the delay. If it’s not too much trouble, could you send us a screenshot or recording of this anomaly? We want to try and reproduce it in our own environment so we can check this further.

    By search box, do you mean the default WordPress search box on the upper right?

    Thread Starter kebhin

    (@kebhin)

    Hi Kim

    Here is a screenshot of the page before adding a new passenger. You see that all the input boxes are white background and editable

    After adding a passenger you can see the main table fields are greyed out

    Also you can see the search box in the bottom right, associated with the child table

    Thanks

    Kebhin

    Thread Starter kebhin

    (@kebhin)

    Last message is missing the screenshots, it won’t allow me to upload an image and when I tried a URL from google drive (sharing access granted) it doesnt seem to work either. Can you give me an email address to send it to?

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin,

    Thanks for the response. Could you try sending us the screenshots and other details here: https://wpdataaccess.com/contact/

    We’ll look out for your message!

    Thread Starter kebhin

    (@kebhin)

    Hi Kim

    I don’t think I can include a screenshot in a contact form, its plaintext only isn’t it?

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin,

    You can send us the google drive link to your screenshots via the contact form.

    We appreciate your patience!

    Thread Starter kebhin

    (@kebhin)

    Just checking you did get the URLs from the contact form I sent a couple of days ago?

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @kebhin,

    Yes, I’ve seen your message and some data coming in. Kim is working on your request. I don’t know what the current status is. She’s back on Monday. Can this wait until Kim is back?

    Thanks,
    Peter

    Thread Starter kebhin

    (@kebhin)

    Yes that’s perfectly fine. I thought I would check as the contact form post probably didnt make sense on its own

    Thanks for all your help

    Kebhin

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin,

    Appreciate the patience!

    We’ve confirmed what you mean in your first post. Please see below the answers from Peter. ??

    1. Posting data with parent-child relationships is a tough issue with Simple Forms, the free form generator. There were all kinds of issues with colliding data items. The safest way to manage multiple forms is to allow editing one form at a time. As a result, the parent form cannot be edited when the child form is in edit mode. For that reason, the Submit > List button was added, which allows users to submit the child form and immediately get the parent form in edit mode. We cannot allow editing both forms simultaneously without doing extra research and making changes. We could add this to our to-do list, but there are other plans that will provide much better alternatives…

    2. It is not possible to disable the search bar in Data Projects. You can try hiding it using CSS by way of functions. Here’s a reference I found: https://stackoverflow.com/questions/66868980/how-to-remove-hide-search-box-from-all-posts-in-wordpress-admin

    Hope this helps! Let us know if you have more questions.

    Thread Starter kebhin

    (@kebhin)

    Thanks. I don’t see a button named Submit > List, only Submit > Child List or Submit >Parent List. Do you mean one of those? If so neither seems to take me to edit the parent. Or is Submit > List referring to a more recent version?

    Looking at the reference you found I can see how to hide all Search buttons with .search-box {display:none}. But I don’t know how to distinguish the child form button. That CSS also hides the Search button on table display which I want to keep. Can you identify the appropriate selector?

    Thanks again for your help

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin

    I just checked with my own test project and can confirm that clicking Submit > Child List still doesn’t make the Parent table editable. I’ll further clarify this with Peter if it’s a bug or intended. I appreciate your patience!

    Regarding the search box:

    Data Projects pages are identified with a body specific body class (ex: wpda-sas_page_wpda_wpdp_2_9, where 2 is the project ID, and 9 is the page ID) both Parent and Child pages uses the same body class, so there’s currently no way to distinguish the child form from the parent table view. See here: https://share.getcloudapp.com/KounELZL

    Thread Starter kebhin

    (@kebhin)

    Hi Kim

    Any update on this – an answer like ‘Yes it is a bug too tough to fix in parent/child would suffice’ as it isn’t a showstopper

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @kebhin,

    Apologies for the delay!

    I’ve just reconfirmed with Peter that simultaneous data entry is currently unavailable for both parent/child. So this isn’t a bug, just not supported at the moment.

    Maybe it will be possible someday, but it’s not an easy task to do, so that might not be anytime soon. ??

    I hope that answers your question! Let us know if we can help with anything else. ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Parent/child form anomalies’ is closed to new replies.