views:

5

answers:

0

Hi everyone, I want to read a text file in the 'new template' of a module, so I can retrieve a number in that file, and give it as a field at the moment of saving that register. As an example, in the form I have this fields:

name:
description:
number:

The number field is in the text file, and I want to retrieve it before I press the "Save" button. How could I do that? Thanks for your consideration.