Forums

Forums / Bugs & Issues / Form Controls

Form Controls

Thread is closed for posting
3 posts, 1 answered
  1. clefsrud
    clefsrud avatar
    26 posts
    Registered:
    24 Nov 2014
    13 Jan 2015
    Link to this post
    Not sure if are existing ways of resolving these issues or not…

    1. I have a form which includes a two numeric fields, one of which is a currency field.  In the event a user does not enter a value in either of these fields, the control assigns a zero as the value; the associated field in CRM contains a zero as opposed to null.  I would prefer a null value.  I know that a change was recently completed in the Portal Connector where the Rating control (also numeric) has a property which allows configuration to assign a null value when no value is entered.  Is there a similar capability for CrmTextField?

    2.  I have a phone number field for which I have defined a mask; my primary motive is to ensure that phone numbers in CRM are correctly and consistently formatted (since phone numbers are largely unique, they are used in duplicate detection rules).  The masking works nicely when a number is entered by the user.  However, when no number is entered, the mask literals are saved to the field in CRM.  The option to not save the formatted value prevents this but also saves a completely unformatted string of digits when the number is entered.  Either way, the result compromises duplicate detection efforts.  Is it possible to save a null value from a masked field when no actual data have been entered?

    3.  I have defined a few required fields on my form, and I also have a couple radio button boolean fields.  The moment the user selects one of the radio buttons, the form alerts the user to enter values into the required fields, even if they are further down in the form (haven’t gotten there yet).  Is it possible to prevent this premature required value check?

    4. I would like to set a default value for a boolean field.  However the ‘DefaultValue’ field does not retain any value I try to enter and save.  Is it possible to assign a default value?  Or only via logic?

    Thanks,
    Chris Lefsrud
  2. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    Answered
    14 Jan 2015 in reply to clefsrud
    Link to this post
    1. Thank you for pointing this issue out, we have identified this as a problem and will include a fix in the next minor release for The Portal Connector v2.4. There won’t be an advanced property like the Rating field, any numeric text field without a value will send ‘null’ to Dynamics CRM.

    2. This issue will also be resolved in the next minor release of The Portal Connector v2.4. If there is nothing but the mask remaining in the text field at the time of submission, a null value will be sent to Dynamics CRM.

    3. I was able to reproduce this, unfortunately there is no workaround for this issue at the moment. A fix for this will not be included in any future minor versions of The Portal Connector v2.4.

    4. The ‘DefaultValue’ advanced property on the CRM Yes/No widget or other Portal Connector widgets is a Sitefinity specific property and does not affect any of our widgets. The only way to assign a default value at this time is through JavaScript logic.
    Last modified on 14 Jan 2015 18:01 by Clinton Bale
  3. clefsrud
    clefsrud avatar
    26 posts
    Registered:
    24 Nov 2014
    15 Jan 2015 in reply to Clinton Bale
    Link to this post
    Okay, thanks Clinton.  i will look forward to the next release.  Any idea of when this will be?

    Chris Lefsrud
3 posts, 1 answered