Changes

Jump to: navigation, search
Default Text
SmartSimple is continually becoming more robust and enhanced with new features. This sometimes results in the ability to configure the same end functionality through the use of a variety of different techniques. This article will discuss different ways that you can update a [[:Category:Custom Fields|field]] value to help you decide on the best approach for your situation.
 
 
==Default Text==
The simplest way to store a value into a field. This is configured through the custom field settings page for open text input fields such as [[Custom Field Type: Text – Single Line|Text - Single Line]]. This setting works by populating the input field on the form with the specified default value when a field does not already have a value stored in it. This requires the user to save the form to actually save the field value.
*Visibility (i.e. users can see the field and verify the default value before it is actually saved and stored into the field)
==[[Custom Field Type: Special – Calculated Value|Calculated Value Field]]==
A way to update a field based upon an expression that is run on page load. This applies only to the [[Custom Field Type: Special – Calculated Value|Special - Calculated Value]] custom field type. This setting is configured using [[:Category:JavaScript|JavaScript]] syntax and works by populating the input field on the form with the specified expression every time the form is loaded. This requires the user to save the form to actually save the field value.
8,849
edits

Navigation menu