Issues with Child Table in Web form

there are issues when using a child table in web form

  1. Error in gender field ie., frappe.desk.search.search_link is not whitelisted

  2. One field is not visible in Webform when filling the form

  3. A field called name with value ‘row1’ or ‘row2’ is being displayed when filling the child table

  4. How can i define the columns to appear of the child table when web form is loaded because the gear icon is not appearing in the child table in web from

note: guest fills the web form and not logged-in user

A field called name with value ‘row1’ or ‘row2’ is being displayed when filling the child table

Error in gender field ie., frappe.desk.search.search_link is not whitelisted

How can i define the columns to appear of the child table when web form is loaded because the gear icon is not appearing in the child table in web from

  1. Add permissions to Guest for “Gender” doctype. Alternatively, you can create a select field instead of a link field as a more sensible (but less woke) solution.

  2. Kindly confirm what is the difference between the field with the label “Member Name” and the other field with the label “Name”

  3. These are for the row names and you can ignore them (set as readonly/hidden)

  4. In your child table doctype, enable/disable ‘in list view’ for fields that you want to show/hide. Change the column side for those that are enabled.

1 Like

Same issue I am facing
it is generating primary key as row 1, row 2, etc and soon you will face duplicate primary key issue

My post

hey @Yamen_Zakhour ,
how can we set the row names field as readonly or hidden, i think it is not possible because the row is used for naming the records of the child table and it cant be set as hidden or read only

there is no field called “name” and “Member Name” is field where the user’s family member name

With the form open, inspect the field and take their data property or class then use the selector to change its display property or disable it via JS.

ChatGPT knows how to do it, so let it do the magic.