DynaPDF.SetFieldBorderStyle
---------------------------

Changes the border style of a specific Interactive Form field.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [4.0](newinversion40.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetFieldBorderStyle"; PDF; Field; BorderStyle ) 

**MBS**( **"DynaPDF.SetFieldBorderStyle";** /\* Changes the border style of a specific Interactive Form field. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$Field**; /\* The field index or field name.e.g. "FirstName" \*/   
**$BorderStyle**) /\* The new border style.   
Can be Solid, Bevelled, Inset, Underline or Dashed.e.g. "Solid" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| Field | The field index or field name. | "FirstName" |
| BorderStyle | The new border style.    Can be Solid, Bevelled, Inset, Underline or Dashed. | "Solid" |

### Result

Returns OK or error.

### Description

Changes the border style of a specific Interactive Form field.   
It is not possible to change the border style of imported button fields. The global border style which is used for newly created fields can be set with the function [DynaPDF.SetBorderStyle](DynaPDFSetBorderStyle.md).  
See also [SetFieldBorderStyle](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetFieldBorderStyle.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.CreateComboBox](DynaPDFCreateComboBox.md)
- [DynaPDF.CreateListBox](DynaPDFCreateListBox.md)
- [DynaPDF.CreateSigField](DynaPDFCreateSigField.md)
- [DynaPDF.GetBorderStyle](DynaPDFGetBorderStyle.md)
- [DynaPDF.GetFieldBorderColor](DynaPDFGetFieldBorderColor.md)
- [DynaPDF.GetFieldBorderStyle](DynaPDFGetFieldBorderStyle.md)
- [DynaPDF.GetFieldBorderWidth](DynaPDFGetFieldBorderWidth.md)
- [DynaPDF.SetAnnotBorderStyle](DynaPDFSetAnnotBorderStyle.md)
- [DynaPDF.SetFieldBorderColor](DynaPDFSetFieldBorderColor.md)
- [DynaPDF.SetFieldBorderWidth](DynaPDFSetFieldBorderWidth.md)

### Example Databases

- [DynaPDF/Form/Form](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/DynaPDF/Form/Form.shtml#3ScriptAnchor_)

### Blog Entries

- [PDF Forms with MBS Plugin](https://www.mbsplugins.de/archive/2018-04-21/PDF_Forms_with_MBS_Plugin/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 30th September 2020

  
[DynaPDF.SetFieldBorderColor](DynaPDFSetFieldBorderColor.md) - [DynaPDF.SetFieldBorderWidth](DynaPDFSetFieldBorderWidth.md)

[HTML Version](DynaPDFSetFieldBorderStyle.shtml)