Portlet Factory, Version 6.1.2


 

Making form fields read-only

You can use the input controls on a generated page to specify elements that the user can change.

  1. Open the Data Page builder call.

  2. Click the Create Sample HTML page button. The generated page contains named <span /> tags on which the Data Page builder places an input control for each element in the variable.

  3. Open the generated HTML page and change the tag type for the elements that you want the user to change from <span /> to <input />.

  4. Add an Imported Page builder call to the model, specifying the sample HTML file as the file to import into the model.

  5. Open the Data Page builder call and set the Page Type to Infer from HTML.

  6. Run the model.

Parent topic: Example: simple forms


Library | Support |