Try ERPNext Buy Support Partners Foundation

New field for select field

Hello,

How to add different new field for every option in the list.
I attached image what I try.
image

Create a new field for every selection you want and add this in the depends on section.

eval:doc.your_custom_field==‘value’

1 Like

When I put this code eval:Customer.Category==‘Lead’; give me error Invalid “depends_on” expression.
In Depends On I have red cross error said “Missing “;” before statement” and the new text field is show always in my Form

If put the code eval;Customer.Category==‘Lead’; like this I don’t have red error

I found my mistake - I added my label but should be name of the field.