Getting started
User guide
- Settings
- Form sets
- Containers
- Controls
- SharePoint fields
- Common fields
- JavaScript
- CSS
- SharePoint form panel
- SharePoint web parts
- Microsoft Teams tab
- Forms versioning
Provisioning forms
Examples
- Ticket management system
- Dynamic form for a user group
- Conference room reservation system
- Discussion within a SharePoint form
- Version history within a SharePoint form
- Organize related docs in libraries and folders
- Duplicate item button for List or Library
- Move new form page to another location
General
- YouTube
- Licensing
- Manage subscription
- Billing and payments
- Privacy policy
- Data protection and security
- Version history (Microsoft 365)
- Version history (SharePoint 2019/SE)
Multilingual support
Navigation between forms
- Generate a link to a SharePoint form
- Redirect user after form submission
- Open edit form by default for a user group
- Open form in a dialog
Generating PDF documents
- Save SharePoint form as PDF
- Generate PDF from DOCX template with Plumsail Processes
- Generate PDF from DOCX template with Word Online (Business)
Integration with Power Automate
Common field properties - SharePoint
This article describes common properties available to all fields, which you can edit in the designer, but also shows how the same properties can be used dynamically with JavaScript.
General
Title
Specify text of the title that will appear next to the field.
JavaScript
This code will allow you to get or set the field’s title dynamically:
// returns the field's title as a string
fd.field('Text1').title;
// sets the field's title
fd.field('Text1').title = 'Last Name';
Name
A unique identifier for the field.
This will be used in JavaScript and in Power Automate to select a specific field.
Important
Do not change field’s Name after the form has been in use, or you might lose saved data or break your automation.
JavaScript
The Name property allows to work with the field via JavaScript code, like this:
fd.spRendered(() => {
// can access the field using its Name:
fd.field('Surname').value = 'John Doe';
});
Required
Select if the field will be required to submit the form or not.
JavaScript
This code will allow you to get and set field’s required status
// returns the field's required status as true/false
fd.field('Text1').required;
// sets the field's required status
fd.field('Text1').required = true;
Hint
Defines a placeholder text that appears in the input before a user starts typing:
This property is available for Single-line Text, Multi-line Text, Number, Drop Down, Date, Date and Time fields.
JavaScript
This code will allow you to get or set the field’s placeholder text dynamically:
// sets the field's Hint
fd.field('FieldName').placeholder = 'Enter your name';
Layout
Select if the title will appear to the left of the field, or right above it.
Class
Add a CSS class to the field, which comes in handy with CSS or even JavaScript code. This will work like class attribute for an HTML tag.
Same class can be applied to multiple fields, and then you can use CSS to modify the appearance of these fields. For example, here we’ve used the following CSS code in CSS editor to give fields with my-class a blue background, white text and rounded corners, with a little bit of padding:
.my-class { color: #FFFFFF; padding: 10px; background-color: #1E90FF; border-radius: 30px; }
Style
Add custom CSS style to the field. This will work like style attribute for an HTML tag.
This style will allow you to hide the field, making it invisible to user (but still usable with JavaScript):
display: none;
You can also apply different styles to it. For example, the following style will allow you to add a thin gray border around the field:
padding: 10px; border: 1px solid #CED4DA;
Title
Visible
Select if the field’s title will be visible or not.
Width
Specify in pixels how much space should the field’s title take.
Font Size
Specify the font size for the field’s title.
Font Style
Select if you want Normal or Italic text in the title.
Font Weight
Select if you want Normal, Semibold or Bold text in the title.
Font Color
Specify a color for the field’s title text. Select the color from the palette or enter the Hex color code.
Wrap
Select if the title’s text should wrap in multiple lines when there is not enough space, or just be shortened until it fits (with dots… at the end).
Control
Width
Specify in pixels how much space should the field’s control take.
Font Size
Specify the font size for the field’s control.
Font Style
Select if you want Normal or Italic text in the control.
Font Weight
Select if you want Normal, Semibold, or Bold text in the control.
Font Color
Specify color for the field’s title text. Select the color from the palette or enter the Hex color code.