s
menu menu

Login  |  Register search:   
Enterprise Forms Forums
 
ForumsForumsDiscussionsDiscussionsGeneralGeneralClientActions - Javasccript Syntax?ClientActions - Javasccript Syntax?
Previous Previous
 
Next Next
New Post
 7/1/2009 6:58 PM
 

Could you import the form template to our demo website fore review?


Enterprise Forms System Admin
New Post
 7/1/2009 7:45 PM
 

I finally got it figured out.  Issues were part novice on my part plus a piece of bad sccript provided by support (not casting stones, I'm human too).

For anyone that might be having similar problems, here's the sccript I used:

<sccript type="text/javasccript"><![CDATA[
function MinDonation()
{
  var obj = __EFGetElementByEFFieldName('datDonation');
  if (obj.value < 50)
    obj.value = 50;
  __doPostBack(null, null);
}
//]]></sccript>

For the benefit of anyone trying to figure out scipting, here's some notes:

1) the sccript was put into an HTML field in the form.  In the Fck (or whatever it is) editor, it's "invisible" - click on the "source" button to see/edit it.

2) the sccript is called from a client action using "return MinDonation()"

3) the sccript checks the value of field "datDonation".  If less than 50, it resets the value to 50.  Needs an error message when this happens, but not present in this version.

4) the [CDATA[ and ]] stuff (supposedly) makes this XHTML compliant.  Needed?  I don't know, but it works.

Hope this helps someone else!

Steve

Previous Previous
 
Next Next
ForumsForumsDiscussionsDiscussionsGeneralGeneralClientActions - Javasccript Syntax?ClientActions - Javasccript Syntax?

What's New

Version 05.00.18

Workflow Manager Enhancements

  • Multi-templates Support  - added support for managing multiple form templates per Workflow Manager module instance
  • Multi-template Support - added the ability to view My Forms, Worklist and All Forms for multiple form templates
  • Multi-template Support - added support for filtering to a specific form template in multi-template mode
  • XML Data Export - added support for exporting form data to XML format.  (XML format compatible with standard .NET Data table object)
  • Reminder Notification - Added support for send reminder notifications if form is not submitted after a certain date
  • Read-only mode - changed disabled fields in read-only when viewing form in Print and Read-only mode
  • Print mode - Removed required image from fields in Print mode
  • Date Range - added support for Date Range search in Workflow Search view

Template Manager Enhancements

  • Template Views - added support for filtering different Views of Form Template listing
  • Workflow Conditional Visibility - added support for Conditional Visibility on Workflow actions
  • Template Usage Dashboard - added support for dashboard like view of Form Template Usage
  • View Access Log - added support for Viewing complete Access Log for form instances
  • Edit Form - overhauled the Edit Form Layout page (05.00.02)
    • Edit Field Element, Edit Cell Properties and Form Preview popups have been Ajaxified and are now displayed in the same Browser window
    • Reordered page properties to provide more estate for designing forms
    • Added the ability to customize the styling in both the Workflow Action Buttons and Form Page Navigation buttons bar

Report Manager Enhancements

  • Date Range - added support for Date Range search in Reports
  • XML Data Export - added support for exporting report data to XML format.  (XML format compatible with standard .NET Data table object)
  • Text Size limit - added support to display free-text fields with more than 4000 characters

Other Enhancements & Fixes

  • Added - support for non-standard FORM tokens in Reminder Notification
  • Added - support for default values for checkboxlist, radiobuttonlist and selectlist when using databinding
  • Added - the ability to assign Tab Index to data entry field elements (05.00.02)
  • Added - the ability to remember focus position upon an Ajax callback (05.00.02)
  • Added - the ability lock form template upon an Instant Development action (05.00.02)
  • Added - the ability to Preview Form in the same window in the main Template Listing and Template Details pages. (05.00.02)
  • Added - StartUpScript field element to support Javascript calls upon ajax callbacks (05.00.03)
  • Changed - Ajax popup windows to utilize maximun window size of the browser (05.00.03)
  • Fixed - issue Custom Report Templates not saving after Default Template is generated
  • Fixed - issue with Conditional Visibility (page level) not updating upon post back under certain condition
  • Fixed - issue with Workflow States in lookup lists not being populated after added or removed
  • Fixed - issue with Form Creator able to use Instant Publish to approve and publish form templates
  • Fixed - issue with Change Form Owner advanced workflow processing task when used in initial workflow
  • Fixed - issue caching under certain conditions in DNN 5.0
  • Fixed - issue with Conditional Visibility with file upload element
  • Fixed - issue with upload file type filter for file upload element
  • Fixed - issue with Reminder Notification when Notification Owner is not selected
  • Fixed - issue with validation on conditionally hidden or disabled fields in multi-page forms (05.00.02)
  • Fixed - issue with multiple conditional visibility fields exists in single form cell (05.00.02)
  • Fixed - issued with workflow Forms Details (via Workflow Manager and Report Manager) not displaying correctly for workflow steps that have advanced workflow processing tasks involved (05.00.02)
  • Fixed - issue with Javascript error when editing Cell Properties (05.00.03)
  • Fixed - issue Action Buttons not showing when Hide Action Buttons is enabled for certain pages (05.00.03)
  • Fixed - issued with ajax windows not centering properly for certain Skins in DNN 5.0 (05.00.03)

Version 04.02.02

  • New Feature - Data Archival:  the ability to archive form data for import and export between environments
  • New Feature - Field Element Tooltip: ability to assign a tooltip to a individual form field elements
  • Enhancements - Form Layout Designer:  added compatibility support for new default skin in DNN 4.9 or later
  • Enhancements - Look & Feel: modified the general look & feel to be inline with DNN standards
  • Bug fix: fixed issue with download attachments for anonymous user.

Click here to view the full change log

Version 05.00.18

Workflow Manager Enhancements

  • Multi-templates Support  - added support for managing multiple form templates per Workflow Manager module instance
  • Multi-template Support - added the ability to view My Forms, Worklist and All Forms for multiple form templates
  • Multi-template Support - added support for filtering to a specific form template in multi-template mode
  • XML Data Export - added support for exporting form data to XML format.  (XML format compatible with standard .NET Data table object)
  • Reminder Notification - Added support for send reminder notifications if form is not submitted after a certain date
  • Read-only mode - changed disabled fields in read-only when viewing form in Print and Read-only mode
  • Print mode - Removed required image from fields in Print mode
  • Date Range - added support for Date Range search in Workflow Search view

Template Manager Enhancements

  • Template Views - added support for filtering different Views of Form Template listing
  • Workflow Conditional Visibility - added support for Conditional Visibility on Workflow actions
  • Template Usage Dashboard - added support for dashboard like view of Form Template Usage
  • View Access Log - added support for Viewing complete Access Log for form instances
  • Edit Form - overhauled the Edit Form Layout page (05.00.02)
    • Edit Field Element, Edit Cell Properties and Form Preview popups have been Ajaxified and are now displayed in the same Browser window
    • Reordered page properties to provide more estate for designing forms
    • Added the ability to customize the styling in both the Workflow Action Buttons and Form Page Navigation buttons bar

Report Manager Enhancements

  • Date Range - added support for Date Range search in Reports
  • XML Data Export - added support for exporting report data to XML format.  (XML format compatible with standard .NET Data table object)
  • Text Size limit - added support to display free-text fields with more than 4000 characters

Other Enhancements & Fixes

  • Added - support for non-standard FORM tokens in Reminder Notification
  • Added - support for default values for checkboxlist, radiobuttonlist and selectlist when using databinding
  • Added - the ability to assign Tab Index to data entry field elements (05.00.02)
  • Added - the ability to remember focus position upon an Ajax callback (05.00.02)
  • Added - the ability lock form template upon an Instant Development action (05.00.02)
  • Added - the ability to Preview Form in the same window in the main Template Listing and Template Details pages. (05.00.02)
  • Added - StartUpScript field element to support Javascript calls upon ajax callbacks (05.00.03)
  • Changed - Ajax popup windows to utilize maximun window size of the browser (05.00.03)
  • Fixed - issue Custom Report Templates not saving after Default Template is generated
  • Fixed - issue with Conditional Visibility (page level) not updating upon post back under certain condition
  • Fixed - issue with Workflow States in lookup lists not being populated after added or removed
  • Fixed - issue with Form Creator able to use Instant Publish to approve and publish form templates
  • Fixed - issue with Change Form Owner advanced workflow processing task when used in initial workflow
  • Fixed - issue caching under certain conditions in DNN 5.0
  • Fixed - issue with Conditional Visibility with file upload element
  • Fixed - issue with upload file type filter for file upload element
  • Fixed - issue with Reminder Notification when Notification Owner is not selected
  • Fixed - issue with validation on conditionally hidden or disabled fields in multi-page forms (05.00.02)
  • Fixed - issue with multiple conditional visibility fields exists in single form cell (05.00.02)
  • Fixed - issued with workflow Forms Details (via Workflow Manager and Report Manager) not displaying correctly for workflow steps that have advanced workflow processing tasks involved (05.00.02)
  • Fixed - issue with Javascript error when editing Cell Properties (05.00.03)
  • Fixed - issue Action Buttons not showing when Hide Action Buttons is enabled for certain pages (05.00.03)
  • Fixed - issued with ajax windows not centering properly for certain Skins in DNN 5.0 (05.00.03)

Version 04.02.02

  • New Feature - Data Archival:  the ability to archive form data for import and export between environments
  • New Feature - Field Element Tooltip: ability to assign a tooltip to a individual form field elements
  • Enhancements - Form Layout Designer:  added compatibility support for new default skin in DNN 4.9 or later
  • Enhancements - Look & Feel: modified the general look & feel to be inline with DNN standards
  • Bug fix: fixed issue with download attachments for anonymous user.

Click here to view the full change log

footer
Update :: March 14, 2010