Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 713 posts 954 karma points
    Mar 23, 2010 @ 04:25
    Tom
    0

    Purchased and ran up contour but cannot save forms

    Hi Guys,

    I've run up contour and purchased the license etc but on attempting to create my first form and save it i get the following exception:

    Invalid web service call, missing value for parameter: 'nodeid'.

     

    Any chance anyone has experienced this before?

    I don't know what is going on!

    Cheers,

    Tom

  • Tom 713 posts 954 karma points
    Mar 23, 2010 @ 05:31
    Tom
    0

    I've found the bug and would like to sumbit it for addressing!

    We're running Framework 4.0 and with it's new ClientIDMode features we came across the following bug.

    With legacy turned on (ie the way asp.net renders server side IDs) in editform.aspx

     

     //Form GUID
        var formguid = 'dd68e2b6-00ac-4dc2-9c21-a6f549cbbdf3';
       
        // ID's of the action add buttons
        var addpage_id = "ctl00_body_addpage";
        var addfieldset_id = "ctl00_body_addfieldset";
        var addfield_id = "ctl00_body_addfield";
       
        //ID's of the settings controls
        var formname_id = "ctl00_body_txtName";
        var formsubmitmessage_id = "ctl00_body_txtMessage";
        var formsubmitpage_id = "ctl00_body_ctl03";
        var formshowvalidationsum_id = "ctl00_body_cbShowValidationSummary";
        var formhidefieldvalidation_id = "ctl00_body_cbHideFieldValidation";
        var formrequirederrormessage_id = "ctl00_body_txtRequiredErrorMessage";
        var forminvaliderrormessage_id = "ctl00_body_txtInvalidErrorMessage";
        var formmanualapproval_id = "ctl00_body_cbManualApproval";
       
        var formindicator_id = "ctl00_body_txtIndicator";
        var formmandatoryonly_id = "ctl00_body_rbMandatoryOnly";
        var formoptionalonly_id = "ctl00_body_rbOptionalFieldsOnly";
        var formdisablestylesheet_id = "ctl00_body_cbDisableDefaultStylesheet";

     

     

    With the default .net 4 format where the generated ID's look alot nicer:

    //Form GUID

    21 var formguid = 'dd68e2b6-00ac-4dc2-9c21-a6f549cbbdf3';
    23 // ID's of the action add buttons
    24 var addpage_id = "ctl00_body_addpage";
    25 var addfieldset_id = "ctl00_body_addfieldset";
    26 var addfield_id = "ctl00_body_addfield";
    28 //ID's of the settings controls
    29 var formname_id = "body_txtName";
    30 var formsubmitmessage_id = "body_txtMessage";
    31 var formsubmitpage_id = "ctl00_body_ctl03";
    32 var formshowvalidationsum_id = "body_cbShowValidationSummary";
    33 var formhidefieldvalidation_id = "body_cbHideFieldValidation";
    34 var formrequirederrormessage_id = "body_txtRequiredErrorMessage";
    35 var forminvaliderrormessage_id = "body_txtInvalidErrorMessage";
    36 var formmanualapproval_id = "body_cbManualApproval";
    38 var formindicator_id = "body_txtIndicator";
    39 var formmandatoryonly_id = "body_rbMandatoryOnly";
    40 var formoptionalonly_id = "body_rbOptionalFieldsOnly";
    41 var formdisablestylesheet_id = "body_cbDisableDefaultStylesheet";

     

    you will notice the formsubmitpage_id isn't correct... it should actually be "body_ctl03" and the addpage, addfield and addfieldsets are also incorrect with the ctl00 still prefixing their values.

     

    Hope this helps a bug fix!

     

Please Sign in or register to post replies

Write your reply to:

Draft