Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

Form does not submit in record view

Hello,

Why forms are not submitted in my record views?

I've made an example with a simple interface : 

a!localVariables(
  local!tfiValue:"",
a!formLayout(
  label: "Form",
  contents: {
    a!sectionLayout(
      contents: {
        a!textField(
          label: "Text",
          labelPosition: "ABOVE",
          value: local!tfiValue,
          saveInto: {
            local!tfiValue
          },
          refreshAfter: "UNFOCUS",
          validations: {
            if(local!tfiValue="test","not defined",null)
          },
          validationGroup: "testGrp",
          required:true
        )
      }
    )
  },
  buttons: a!buttonLayout(
    primaryButtons: {
      a!buttonWidget(
        label: "Submit",
        submit: true,
        style: "PRIMARY",
        validate: true,
        validationGroup: "testGrp"
      )
    },
  )
)
)

In the designer it works fine : if the field is empty, the submit tests the value and as it is required the warning appears 

Validation is fine to : 

But, in the application, where this interface is a view from a record, it doesn't submit

Can someone explains this?

(Our goal before this simple test was to save a file in a directory. But as the form is never submitted, the file remains stucked in the temporary folder.)

Thanks for your help.

Regards.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data