Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!
SOLVED

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

Avatar

Level 4

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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