A field to be … filled by itself !!!

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 2, 2016   (RSS)

By andreasml - May 1, 2016

I want to make a text field to be filled by itself.

In particular, I am trying to construct a database of patients who receive a type of treatment which is allocated randomly between two or more options (usually there are only two options).

My initial plan was to create a section with the various options of treatment. Then, on the main section that contains all the patients details, i would insert a list field which will pick the specific type of treatment.

Nevertheless, there are two issues that i cannot solve:

1. The treatment should be picked randomly among the various options.

2. The user would not be able to change the initial random choice of treatment. Thus, the patient would be listed according to the treatment option which had been picked on a random way. Of course, the administrator must be able to change this. 

Any ideas / suggestions / advice would be more than helpful. My level regarding programming is fundamental (basic knowledge of HTML and some knowledge regarding databases). 

By andreasml - May 2, 2016

Hi Damon

I think that this is exactly what is needed! Besides the plugin, i think that i will also need the MySQL query so as to be sure that everything is working properly.

Kind regards

Andreas