cancel
Showing results for 
Search instead for 
Did you mean: 

How to create dependable field in admin custom form in Magento1?

How to create dependable field in admin custom form in Magento1?

We need to create 2 fields into the "Account Information" of admin in the "Customer Information" page of customer.

 

We need that two fields are dependent "Company Name" is field then need to ask for the "Company Number" if the Company Number not entered then give validation error for that.

 

Please share if you have any idea.

Thanks,
Ashish

2 REPLIES 2

Re: How to create dependable field in admin custom form in Magento1?

Hello @Ashish_k_php 

 

Please check below link for your query solution

https://www.atwix.com/magento/fields-dependency-in-magento-admin-forms/

 

if works then mark as the solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: How to create dependable field in admin custom form in Magento1?

@Sunil PatelPatel thanks for the reply.

Where we add this fields script.

 

We already created two fields into the customer of admin.

We also try to set jquery for that fields but not working.