--
Note:
If you are posting an issue,
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0da483b5-707c-4029-9137-a889488525b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Open the doctype, open the field row and set "Depends On"
On 09-Sep-2014, at 1:51 pm, Nguyen Do Le Bao <natha...@gmail.com> wrote:
Hi guys,Having a simple question but can't find an answer after searching ...Using client script, to hide and unhide based on another field is as simple as: https://gist.github.com/anonymous/707697f105d287703d0eIs there a way to do the same thing if the field is a subfield belong to Table Item ?--
Note:
If you are posting an issue,
1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.
Can you confirm again if it works.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/9b1f798b-423a-485b-9902-eeee454680d6%40googlegroups.com.
Set "Depends On" property of field_b to:
eval:doc.field_a
or, to toggle based on main form field's value
eval:parent.field_a
Ok it works, but I think it only works on Normal Doctype, not with Child Table.Can you give me some example for Child Table as well ?
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/8cc99474-e571-4194-97cd-c41d90de30b3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7f274598-64cf-48c8-bd8c-6513c72c9273%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.