Marking topic answered when not to the requestors satisfaction

How to use PHP code in ChronoForms for non-programmers.

Overview

The issue arises when a user, unfamiliar with PHP, receives a technical solution involving code but lacks guidance on where to implement it within the CF interface.
Continue the discussion in the same forum topic to request more detailed, step-by-step instructions tailored for non-programmers, as the topic remains open for further clarification.

Answered
ChronoForms v7
pg pgrnycomdir 11 Oct, 2023
Max,

It's great you think that you've answered a question to your satisfaction, but when you have NOT to your paid customers that is a different story!!

I have stated that I am not a programmer, I do not know PHP. Yet your answer tells me to write PHP. I have NO idea where to put it in the form software and mainly because you don't have a manual.

Where in the form design or actions do I put this PHP that you are talking about??

Max_admin posted Oct 10, 2023 at 14:44
Answer
it's not possible to set an alternative multiple values, you may use PHP for these values, use this code to set the value to an array:

$this->data["field_name"] = ["1", "2","3"];

Max
ChronoForms developer...
ChronoForms v8 is out, do you have any suggestions? please let us know.



Please include all information for those of us who are NOT programmers and don't know where this stuff goes.

Thank you in advance,
Donna
Max_admin Max_admin 12 Oct, 2023
Answer
Hi Donna,

I understand, for some users the reply I posted can be enough.

If you need more info then you can reply to the same topic, I did not "lock" the topic, it's open for more discussion.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pg pgrnycomdir 12 Oct, 2023
Thank you Max.

And YES, I do need more information. I am not a programmer, I don't know PHP.

And I certainly have no idea where to put the information within the CF7 product. The form is an Advance form. Right now I did use the alternative data sets with email settings; but I need to put more than one email address.

So how and where do I put the php?

Thank you in advance,
Donna
This topic is locked and no more replies can be posted.