Expand my Community achievements bar.

Join us for Adobe Campaign Community Q&A Coffee Break on Thursday, March 7th at 8am PT with Eric Perrin, Gael Mouello, Chakravarthy Kalva, Bruce Swann and Sandra Hausmann.
SOLVED

edit an input form

Avatar

Level 3

hi all

 

i need to create an input form 

but need to put restriction that other operator  can just view it not edit it

 

pelase help

 

thanks in advance

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi there,

 

Once you create the input form, locate the container that will be holding the input forms that you wish to make read only and add readOnly="true"

 

In the example below, I have created an input form with two content tabs (Customer and General) and I've made the input boxes read-only:

<createdBy _cs="Andrea Briceno"/>
  <container codepage="1252" colcount="2" label="Campaign data" readOnly="true" type="notebook">
    <container codepage="1252" colcount="2" label="Customer">
      <input xpath="@firstName"/>
      <input xpath="@middleName"/>
      <input xpath="@lastName"/>
      <input xpath="@emailAddress"/>
      <input xpath="@countryCode"/>
      <input xpath="@language"/>
    </container>

    <container codepage="1252" colcount="2" label="General">      
      <input xpath="@leadOrigin"/>
      <input xpath="@brand"/>     
      <input xpath="@created"/>
    </container>
 </container>

 

AndreaBriceno_0-1707413855140.png

 

Hope this helps

-Andrea

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi there,

 

Once you create the input form, locate the container that will be holding the input forms that you wish to make read only and add readOnly="true"

 

In the example below, I have created an input form with two content tabs (Customer and General) and I've made the input boxes read-only:

<createdBy _cs="Andrea Briceno"/>
  <container codepage="1252" colcount="2" label="Campaign data" readOnly="true" type="notebook">
    <container codepage="1252" colcount="2" label="Customer">
      <input xpath="@firstName"/>
      <input xpath="@middleName"/>
      <input xpath="@lastName"/>
      <input xpath="@emailAddress"/>
      <input xpath="@countryCode"/>
      <input xpath="@language"/>
    </container>

    <container codepage="1252" colcount="2" label="General">      
      <input xpath="@leadOrigin"/>
      <input xpath="@brand"/>     
      <input xpath="@created"/>
    </container>
 </container>

 

AndreaBriceno_0-1707413855140.png

 

Hope this helps

-Andrea