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';
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.
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
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
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!
is working on a reply...