Compatible with CFF: Professional Developer Platinum
	The "Spreadsheet Calculated Fields Form Connector" allows implementing the calculations in Google Sheets documents and use the form for entering the data and displaying the results.
The "Spreadsheet Calculated Fields Form Connector" plugin enables the integration of Calculated Fields Forms with Google Sheets Documents. This integration facilitates the implementation of business logic and calculations in Google Sheets, utilizing well-known Excel formulas, and allows entering the user data and displaying the results within your website's form.
The "Spreadsheet Calculated Fields Form Connector" plugin offers several advantages. The implementation of calculations and business logic remains hidden from website visitors as they occur in Google Sheets. This integration enables harnessing the full potential of Google Sheets and Excel formulas.
"Spreadsheet Calculated Fields Form Connector" installation is similar to other plugins in WordPress. It requires downloading the zip file with the plugin's code to your computer (visiting the download link provided after purchasing) and following the steps below:
The plugin adds the "Calculated Fields Form > Spreadsheet Integration" menu option to register the plugin and enter the Google Sheets API keys. Furthermore, it activates the "Spreadsheet Integration" section in the forms' settings to integrate the form with a Google Sheets document.
To register the plugin, visit the "Calculated Fields Form > Spreadsheet Integration" menu option, enter the email address used to purchase the plugin in the "Enter the email address of buyer" attribute, and then press the "Register" button.
		To access Google Sheets documents from your website, you need to input a Google "Client ID" and "Client Secret", then click the "Generate Token" button. This process redirects you to Google Sheets to authorize your website to access the Google Sheets documents by granting necessary permissions.
To get the Google API keys you must follow the steps described below:
Upon configuring the global settings and obtaining the access token, we are ready to seamlessly integrate our forms with Google Sheets documents.
The "Spreadsheet Calculated Fields Form Connector" plugin introduces a dedicated section within the form settings called "Spreadsheet Integration". This feature allows users to establish a connection between the form and a Google Sheets document, as well as customize the mapping between the document cells and the fields within the form.
The settings area includes the attributes:
The form settings has two tabs, Calculation and Storing.
The calculation area configures fields for computation in Google Sheets and displays the results.
		Note that all users are collaborating on the same Google Sheets document. Due to the nature of the document, multiple entries are not retained as users are writing data into the same cells. The plugin ensures data integrity by locking the document and queuing other requests to prevent conflicts.
The storing area configures the fields to store in Google Sheets after submitting the form. It appends new rows in the Google Sheets document.
		Operations Module.
The plugin includes a new operations module for reading or writing cells directly from the calculated fields equations:
		CFF_SPREADSHEET_GET_CELLS: Reads cells from the Google Sheets document selected in the form settings. It receives as parameters the cells to read and return a plain object whose properties are pairs of cell names and values.
CFF_SPREADSHEET_GET_CELLS( "A1", "B5")
	Result: {"A1":12, "B5":"Text"}
CFF_SPREADSHEET_SET_CELLS: Writes cells in the Google Sheets document selected in the form settings. It receives as parameters a plain object with cell names and values.
CFF_SPREADSHEET_SET_CELLS( {"A1": 5, "B5": "Text"})
CFF_SPREADSHEET_GET_RANGE: Reads a cells range from the Google Sheets document selected in the form settings. It receives as parameters a text with the cells range to read, and returns an array of plain objects where each object represents a row, and their properties are the column names.
CFF_SPREADSHEET_GET_RANGE( "A1:B3")
	Result: [{"A":5,"B5":12},{"A":8,"B5":21},{"A":44,"B5":65}]