More easily add fields to an Edit Form Fields panel.
- 0.1.0
-
7.1
-
7.0
- Not Applicable
Add code from file form block edit form fields add.bookmarklet as the URL for a bookmark in your browser named TWC Form Block Edit Form Fields Add.
-
Prepare a JSON file using the Fields Add JSON File Format.
-
Add or edit a Form block.
-
Click on Edit Form Fields.
-
Use the bookmarklet.
-
Wait for the bookmarklet to alert you that it is done.
The format is a JSON structured file. The best way to begin to get familiar with the format are some examples.
-
Creates one of each field type with no changes to the Squarepace defaults.
-
Creates a Dropdown field with the label States and OPTIONS set to the US States.
-
File Upload Field File Details All
Creates a File Upload field with all the FILE DETAILS toggled on and checked, with the Max Number of Files set to 5.
-
Follow Up Boss Email Parser Advanced Format Fields
Creates as close to FUB Email Parser Advanced format as Squarespace can get when using the email storage option.
It is beyond the scope of this README to teach JSON.
The code does not currently support Follow-up Questions.
The code is not particularly robust. It is like a timed macro player, clicking and inputting values. I chose this less advanced method to reduce the size and complexity of the code.
I suggest taking some precautions. For example if working on an existing form, make a copy and work on the copy.
Wikipedia has a nice entry on bookmarklet.
Please consider making a donation.
-
2025-03-17
- initial version