I have two fields on a form - "Forename" and "Surname". These bind to two Process Variables withing Bizflow of the same name.
Now if I want to Bind to a thrid PV called "ForenameAndSurname" in the format for "Forname" + " " + "Surname" do I have to create a third field on the form to create/hold this to bind back or can something clever be done within the "Action Submission Bindings" to concat the two values to a particlar field?
I suspect the answer to be the former but what to be sure.
Now if I want to Bind to a thrid PV called "ForenameAndSurname" in the format for "Forname" + " " + "Surname" do I have to create a third field on the form to create/hold this to bind back or can something clever be done within the "Action Submission Bindings" to concat the two values to a particlar field?
I suspect the answer to be the former but what to be sure.
RE: Action Submission Bindings
You do normally have the option to concat fields within rules on the server controller if you don't want the extra field on the form. But, in the BizFlow case, the autosave of the Process Variables fragment does not allow this, because the save occurs before the controller receives the form data.
I think your best option is the one you have already guessed.
It's worth remembering that you can concat multiple field values before displaying info to the page. In your case, if the forename and surname values are not going to change on screen then you can perform the concat on the page display bindings and simply re-submit this third field. If the values change on screen then you will need some script to keep this third field in sync.
You can also bind individual page fields to multiple server elements during page submission, but no option to combine values during submission using bindings unfortunately.
Abdul.
RE: Action Submission Bindings