HOW can we craete an input form which will allow to add the data and not delete and modify th records | Community
Skip to main content
Level 4
March 14, 2024
Solved

HOW can we craete an input form which will allow to add the data and not delete and modify th records

  • March 14, 2024
  • 1 reply
  • 705 views

HI aLL,

 

@Parvesh_Parmar ,@AkshayAnand 

,@isahore ,@AndreaBriceno,@ParthaSarathy

Please help me with

 

HOW can we craete an input form which will allow to add the data and not delete and modify th records

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by isahore

Hi @dishasharma,

 

To have an insert-only form you can put all input fields into a container of type enabledGroup and add the enabledIf condition as the AND join for checking the presence of all input field values.

Something like this:

<container type="enabledGroup" enabledIf="@primaryKey !='' AND @field2!='' AND @field3!=''"> <input xpath="@primaryKey"/> <input xpath="@field1"/> <input xpath="@field2"/> </container>

This would disable the fields for editing if all values are present.

 

For disabling deletion of records, you can either provide every user only read and write access on the folder where the input form is present (no delete access) in the folder rights section, OR

you can create a new navigation hierarchy and disable the adbDelete command on that specific folder (complex way).

 

BR,

Ishan

1 reply

isahore
Community Advisor
isahoreCommunity AdvisorAccepted solution
Community Advisor
March 15, 2024

Hi @dishasharma,

 

To have an insert-only form you can put all input fields into a container of type enabledGroup and add the enabledIf condition as the AND join for checking the presence of all input field values.

Something like this:

<container type="enabledGroup" enabledIf="@primaryKey !='' AND @field2!='' AND @field3!=''"> <input xpath="@primaryKey"/> <input xpath="@field1"/> <input xpath="@field2"/> </container>

This would disable the fields for editing if all values are present.

 

For disabling deletion of records, you can either provide every user only read and write access on the folder where the input form is present (no delete access) in the folder rights section, OR

you can create a new navigation hierarchy and disable the adbDelete command on that specific folder (complex way).

 

BR,

Ishan