Hello, I am building a wizard-like Interface and i would like to rest

Hello,

I am building a wizard-like Interface and i would like to restrict the interface from moving forward to the next interface if certain fields have not been filled. I have used validationGroups on every buttonWidget that "forces" the interface to move to the next and and i have used validationGroups on the fields that i need to have values.

However, this has not worked. Any ideas?

OriginalPostID-158785

OriginalPostID-158785

  Discussion posts and replies are publicly visible

Parents
  • saveInto is not getting executed if I have a fileupload component as below,

    ,

    secondColumnContents:
    {
    a!fileUploadField
    (
    label : "Upload Document",
    required : true,
    instructions : "Maximum size allowed is 10 MB",
    target:cons!MIM_MODEL_DOC_FOLDER,
    value:ri!file,
    validationGroup: "UploadDoc",
    saveInto:{a!save(ri!model_doc.upload_remarks,a!fileUploadField(value:ri!file).uploadedDocumentName)}
    )
    }


    Button content is: a!buttonLayout(
    primaryButtons: {a!buttonWidget(
    label: "Upload New Document",
    style: "NORMAL",
    validate:true,
    validationGroup: "UploadDoc",
    saveInto: {
    a!save(ri!modeldoc,false),
    a!save(ri!review,true)))


    Is there anything I am missing ?
Reply
  • saveInto is not getting executed if I have a fileupload component as below,

    ,

    secondColumnContents:
    {
    a!fileUploadField
    (
    label : "Upload Document",
    required : true,
    instructions : "Maximum size allowed is 10 MB",
    target:cons!MIM_MODEL_DOC_FOLDER,
    value:ri!file,
    validationGroup: "UploadDoc",
    saveInto:{a!save(ri!model_doc.upload_remarks,a!fileUploadField(value:ri!file).uploadedDocumentName)}
    )
    }


    Button content is: a!buttonLayout(
    primaryButtons: {a!buttonWidget(
    label: "Upload New Document",
    style: "NORMAL",
    validate:true,
    validationGroup: "UploadDoc",
    saveInto: {
    a!save(ri!modeldoc,false),
    a!save(ri!review,true)))


    Is there anything I am missing ?
Children
No Data