Hi,
As you know, the "First Name" field is a single line of text type field.
Here I use First Name as an example of how to implement this requirement.
1. Create a Web Resource which contains JavaScript code to get the value of the field.
You can adjust the JS with your owner field name and the condition.
function preProposal(){
var firstname = Xrm.Page.getAttribute("firstname").getValue();
if (firstname.startsWith('FF')){
return true;
}
else{
return false;
}
}
2. Open the Ribbon Workbench and create a new button. Of course, if it exists, just right click it and choose the "Customise Command" option.

3. Create an Enable Rule for the button. Select the web resource created in the step 1.

4. If you don't want to show the button when a new record is created, a Display Rule should be created also.
Fill in the following option with the name of your field.

5. Create a command for the button. Add the Enable Rule and the Display Rule into it.

6. Add the command to the properties of the button.

7. Publish the solution. Refresh your environment and you'll see the effect.
New:

Meet the condition:

Do not meet the condition:
