Forums

Clear fields

Pkoll 09 Feb, 2025

Hi Max,

It is possible to always empty the data field of a form that manually controls the page so that the same data is not always requested from the database. Now I use the {url:}&chronopage=<name> and the url parameters fieldname= for a link. This clears the data field. I also tried $this->data[] in a php file but that had no effect.
Is there a simpler way?GreetingsPaul
Pkoll 09 Feb, 2025

Hi Max

I searched the solution/ Put a php file in front of page1 with $this->data[];

No problem any more

Thanks

Paul

Max_admin 11 Feb, 2025

Hi Paul

You are using a Read Data with Merge Data but you want to exclude a specific field from being loaded from the database ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 11 Feb, 2025

Hi max,

The form I use is for a membership administration.

The start screen consists of a number of dropdowns that are filled from a database table. With this data I make a selection from the database and display it in a table view. I return to  page1 via a button (link). Now the selection criteria remain in the data fields so that the search goes wrong a second time.  That's why I was trying to return the data fields empty in the return url.  

This should be easier, I thought. So I now use $this=data[] in a php file on page1.

Now another problem arises. All forms are listed in database table Chronoforms8. The Params field contains the various settings of the form, but suddenly with the form where I use $this->data[], this field is empty and it is impossible to switch Debug on or off, for example. I solved this by refilling the Param field of another form.Can you explain this?

Paul

Max_admin 11 Feb, 2025

Hi Paul

Where and how do you use $this->data[] ? can you show a screenshot ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 11 Feb, 2025

and on your first post here, the formatting is not expected, how did you create this post:

did you copy and paste from somewhere or did you use a specific editor button ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 11 Feb, 2025

Hi Max

sometimes I use a translate service from Internet to translate from dutch to english. This time I copied the text from the site to your editor.  

Give this problems?

Paul

Pkoll 11 Feb, 2025

Hi Max

Here I place the php file:

with this code

Paul

Max_admin 13 Mar, 2025

Hi Paul

What is the status of this ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 14 Mar, 2025
Answer
1 Likes

Hi Max,

I do’nt use it because alle the data is gone also de page etc. Know I set de data in the url parameter with the name and the value like:

field=

otherfield=

and that works fine. I saw that now its posible to reset the session values.

So I have no problem anymore

Thank for asking 

Greetings,

Paul

You need to login to be able to post a reply.