Only the form

Only the form

andreavelloneandreavellone Posts: 46Questions: 13Answers: 2

Hi boys,
i'd like to show only the form for adding a new record.
For this app i need that some kind of customer can't view all the data.
There is a simple way to do this?

Thanks a lot
A.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,457Questions: 1Answers: 10,466 Site admin

    Do you want to show a DataTable at all? What happens when the create form is submitted - does it show them the new record?

    Allan

  • andreavelloneandreavellone Posts: 46Questions: 13Answers: 2

    When the form is submitted it show a new blank form.
    I need a page only to insert record. In another page I'll show the data but only for the user that can view the data.

  • allanallan Posts: 63,457Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Yes, that should be possible. Editor doesn't require a DataTable - without a DataTable we called standalone mode. You could create your Editor instance and immediately show it on the page using -e-api create(). When the form is submitted call that method again to show another create form.

    Allan

This discussion has been closed.