
Announcements
Hi All,
I have field
A (number)
B (text)
so let say if field A value is more than 1000 then field B is not editable. user cannot edit this field.
if field A is less than 1000 then field B can edit.
Do you have any reference on how to achieve this?
Hi @haryadihart ,
There's no ootb way to achieve this so you'd have to use custom javascripts.
lets say your first field is msft_a (number field) and second field is msft_b (text field)
then you can try something like:
var valueA = $("#msft_a").val();
if (valueA > 1000) {
$("#msft_b ").attr('readonly', 'readonly');
}
else
{
$("#msft_b").removeAttr('readonly');
}
Cheers,
Dom