s
menu menu

Login  |  Register search:   
Enterprise Forms Forums
 
ForumsForumsDiscussionsDiscussionsGeneralGeneralIssue with Disabled FieldIssue with Disabled Field
Previous Previous
 
Next Next
New Post
 31/01/2010 11:11 PM
 

I have a form that is used to send feedback. The requirement is that for unauthenticated users the form should send email to a certain email address (Let's call it email1). For registered users they get a drop down for Category/Sub-category and the form is routed to different people based on the end user;'s selection. The way that I have designed the form is that there is a hidden textfield with value email1. This field has conditional viaibility on it and is disabled when user is in role Registerd Users. I use this field to send emails in workflow. Here is what I am expecting. When an unauthenticated user submits the form, this field is enabled and the email account email1 should receive the email. However for Registered users this field is disabled so that this email account should not receive any emails. However I am noticing that in all scenarios the email is being sent to this account and it looks like the disabled flag is not even considered. Is this happening because this is a hidden field? Is disabled flag meaningless for hidden fields. Please advise. I am using EF v4.02.02 and DNN 4.9.5.

Thanks,

Chhavi

New Post
 1/02/2010 1:46 PM
 

Even though the field is hidden or disabled its underlying value still exists in the system thus can always be referenced.

One other way to approach this is to use the code token to assign email to the email1 field. Basically the code token would only assign a real email if the user is an authenticated user. The code token would look something like

[[CODE:

string val = "[ROLE:NATIVE]";

if (val == "")

return "email1@email.com";

else

return "";

]]

In the workflow processing task you could then set it so that it will only send email if value in the email1 field is not empty.

My only concern is that you are using an older version of Enterprise Forms in which the token [ROLE:NATIVE] may not be supported.


Enterprise Forms System Admin
Previous Previous
 
Next Next
ForumsForumsDiscussionsDiscussionsGeneralGeneralIssue with Disabled FieldIssue with Disabled Field

What's New

Version 05.01.06

Workflow Manager Enhancements

Template Manager Enhancements

Report Manager Enhancements

Other Enhancements & Fixes

  • Enhancement - allow sub-form (state-form) to be printed even if has not been submitted
  • Fixed - issue with the [OWNER] namespace does not parse properly in the NEW workflow state
  • Fixed - issue with Report Manager performing LIKE comparison instead of EQUAL operations for list type fields
  • Fixed - issue databound fields do not persist between pages
  • Fixed - issue PRINT button not displaying of no action buttons available
  • Fixed - issue with Custom Form Roles being cached even after a user role update
  • Fixed - issue with The base class includes the field 'FormLinksPanelTR' for cettain environments

 Minimum Requirements: 

  • Dotnetnuke versions 4.8 - 5.4 inclusive.
  • Microsoft SQL Server 2005 or later

 

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.01.06

Workflow Manager Enhancements

Template Manager Enhancements

Report Manager Enhancements

Other Enhancements & Fixes

  • Enhancement - allow sub-form (state-form) to be printed even if has not been submitted
  • Fixed - issue with the [OWNER] namespace does not parse properly in the NEW workflow state
  • Fixed - issue with Report Manager performing LIKE comparison instead of EQUAL operations for list type fields
  • Fixed - issue databound fields do not persist between pages
  • Fixed - issue PRINT button not displaying of no action buttons available
  • Fixed - issue with Custom Form Roles being cached even after a user role update
  • Fixed - issue with The base class includes the field 'FormLinksPanelTR' for cettain environments

 Minimum Requirements: 

  • Dotnetnuke versions 4.8 - 5.4 inclusive.
  • Microsoft SQL Server 2005 or later

 

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 :: February 11, 2012