Forums

Php with events

Pkoll 11 Nov, 2024

Hi Max,

If you use multiple PHP files together with events, those events will only work on the first PHP. The other events do not provide an option to fill the event.Is this a bug?

greetings

Paul

Max_admin 11 Nov, 2024

Could you please explain more or post a screenshot of the issue ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 12 Nov, 2024

Hi Max,

After I installed CF 8.24 it works normally, but I get a lot of warnings from PHP.

I use MAMP a local installation with PHP and Apache a Mysql.

PHP version 8.2.20

The warnings are for example:

Warning: Undefined array key "pagegroup" in /Applications/MAMP/htdocs/Atelier-78/administrator/components/com_chronoforms8/pages/view.php on line 87Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /Applications/MAMP/htdocs/Atelier-78/administrator/components/com_chronoforms8/pages/view.php on line 87

Warning: Undefined array key "pagegroup" in /Applications/MAMP/htdocs/Atelier-78/administrator/components/com_chronoforms8/pages/view.php on line 89Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /Applications/MAMP/htdocs/Atelier-78/administrator/components/com_chronoforms8/pages/view.php on line 89

Warning: Undefined array key "pagegroup" in /Applications/MAMP/htdocs/Atelier-78/administrator/components/com_chronoforms8/pages/view.php on line 93

:

Can you explain??

Greetings Paul

Max_admin 12 Nov, 2024

that's a minor issue, you may open and save the form to fix it temporarily, but anyway it will not cause any problems, I will release a fix for this hopefully later today

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 12 Nov, 2024

the fix has been added to the live file, so if you download it again and install OVER yours then it should fix this

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 16 Nov, 2024

Hi Max,

I still have a warning.

Cab you explain ?

Greetings 

Paul

Max_admin 16 Nov, 2024

does your Email field has "html attributes" behavior ? if yes then what do you have there ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Pkoll 16 Nov, 2024

Yes, I have

max-width:50%;

Pkoll 16 Nov, 2024

Hi Max,

I see that I can use now Field Width, so html attribuut is not necessary. I will change

Paul

Max_admin 16 Nov, 2024
Answer

you should actually use the following if you want to do it using HTML attributes

style=max-width:50%;

You may also place your fields in a GRID container and set the column width if you have multiple fields

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.