HI aLL,
,@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
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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
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