Change fieldtype Dynamically

Hai everyone,
Am trying to change a field according to other field. If in field A selected as yes, then in field B fieldtype should be data and if it is NO then it should be Link. Is it Possible to do ? If so anyone guide.

1 Like

Try Dynamic Link fields. You will be using separate data and link fields though

@RWEMA_Aimable I Want to do this in single field not two separate fields.

Check the Payment Entry form. It has a Party field which can be Supplier, Customer, Student etc.

You can check it here Dynamic Link Fields .

@TurkerTunali Actual need is if i select yes in field A , then the field B should be Data fieldtype. If i select No in field A, then field B should be Link fieldtype. Above shared link shows to link two doctypes but that is not my purpose.