Discussion on Form Framework with Admin Panel - Forms Plus: PHP


swebdeveloper supports this item


This author's response time can be up to 5 business days.

197 comments found.


Roland Purchased

I have tried to translate the error message “This field is required.” Noting happens.

In which file can i do this?

I have answered via email!


i have purchased script FORM PLUS PHP, The question is how to populate in file of type yml a listbox from database? I need to integrate this listbox with autocomplete.

Thank you!


I can show you how! Please, contact me via a feedback form here https://codecanyon.net/user/swebdeveloper#contact

Best regards, Swebdeveloper

Hello swebdeveloper -)

After a little work, everything works perfectly, - Your form is beautiful, - I managed to save all the information in my own database, in the right format, - I can re-edit the information in another form, from my manufacture -)

I only have a little problem left. Each form includes an image, which I receive as an attachment in the email “admin”, But I would also like to record the references in my own database.

What variables to add to my query ?

I found …
$dataToStore = $this->getDataToStore();
$data = !empty( $dataToStore ) ? serialize( $dataToStore ) : '';
INSERT INTO my_own_database ( data )
VALUES ( :data  )

but it did not work -(

Best Regards from France -))


I am glad to hear that everything work fine in your app!

Ok, you get a file information by the following code:

$form->storage->getCollectionFileInfo( $collectionID, 'your_file_attribute_id', array( 0 ) );

I cannot describe it more detailed, because you use your own system to handle requests and storage and I am not aware of it.

In case you need more details, I will need to look at your code first.

Best regards, Swebdeveloper

Thank you for the quick reply, ... But that puzzles me -))

My form contains a “Photo” field, Whose characteristics are registered by YOUR framework in “collected_information.data”.

And I wanted to use this information in MY database, saving this variable “collected_information.data” in a “picture” field of my database. But I do not find how to do it, nor what would be the “variable” to use ($ data ..?, $ DataToStore …?,)

Best Regards -)

The code that I gave you in the previous message, it’s enough to get the data that you need. So, do you use the FormsPlusPHP’s default storage system simultaneously with your own one?

Can you contact me privately via a feedback form here https://codecanyon.net/user/swebdeveloper#contact and send me two files: PHP form file and YAML config file.

The gerate form can inculid it at end of Landing Page in HTML/CSS3 code?, also, can have more then DB MySQL, let say one for each Cliente I Have?


Can you tell me a file name? There are several types of the form.

Thank you very much, this new version Really help a lot, Congratulation.


did you set up Google’s Recaptcha support? I saw a commenter a year ago when you said that he would soon be supported.

I bought your product almost 2 years ago (JS and PHP) for a project that was stopped but I think to use it now for another…

Thank you


All customer who bought the product, I will get an email message. It’s already finished, I am testing it right now. I guess, I will publish it tomorrow if everything works fine.

Best regards, Swebdeveloper

Merci !


I have just released a new version of the product!

As I promised to you, I created a form with the recaptcha for you. Now, it’s available in a new version of the product. You can see how it works here http://swebdeveloper.com/apps/forms-plus-php/ajax-form-contact-with-recaptcha.html

If you have any questions, just contact me any time!

Best regards, Swebdeveloper

Hello -)

Can we add a tooltip to a checkbox ? I tried
        datatype: checkbox
        name: "Coût (15€)" 
        checkbox: 'Coût (15€)'
        checked: false
        js_sub_check: "Ad3ad1" 
        js_value_group: "adGroup3" 
        js_get_value_extra: "{#ad3Price:15}" 
            content: "(77700)" 
            position: top
But it was too simple and it does not work -)

Best Regards of France


I have just checked it. Yes, checkboxes do not support Tooltips, only elements that are shown here http://swebdeveloper.com/apps/forms-plus-php/elements-tooltips.html.

I can try to add it in a new version. Currently I am finishing the one.

Best regards, Swebdeveloper

- I config SMTP to my account and uploaded the website to Server, but no work - Chanched my account SMTP for another also nothing - Then changed the Server (another Provider) then it works - I get contact with frist Provider, and they send PHP code belo, then it works What the difrent between code blow and your code?


/* apenas dispara o envio do formulário caso exista $_POST[‘enviarFormulario’]/

if (isset($_POST[‘enviarFormulario’])){


$enviaFormularioParaNome = ‘A Casa do Bitcoin’; $enviaFormularioParaEmail = ‘contato@acasadobitcoin.com’;

$caixaPostalServidorNome = ‘smtp.acasadobitcoin.com’; $caixaPostalServidorEmail = ‘contato@acasadobitcoin.com’; $caixaPostalServidorSenha = ‘Famaza126’;


/ abaixo as veriaveis principais, que devem conter em seu formulario/

$remetenteNome = $_POST[‘remetenteNome’]; $remetenteEmail = $_POST[‘remetenteEmail’]; $assunto = $_POST[‘assunto’]; $mensagem = $_POST[‘mensagem’];

$mensagemConcatenada = ‘Contato de A Casa do Bitcoin’.’
’; $mensagemConcatenada .= ‘-----

’; $mensagemConcatenada .= ‘Nome: ’.$remetenteNome.’
’; $mensagemConcatenada .= ‘E-mail: ’.$remetenteEmail.’
’; $mensagemConcatenada .= ‘Assunto: ’.$assunto.’
’; $mensagemConcatenada .= ‘-----

’; $mensagemConcatenada .= ‘Mensagem: ”’.$mensagem.’”



$mail = new PHPMailer();

$mail->IsSMTP(); $mail->SMTPAuth = true; $mail->Charset = ‘utf8_decode()’; $mail->Host = ‘smtp.’.substr(strstr($caixaPostalServidorEmail, ’@’), 1); $mail->Port = ‘587’; $mail->Username = $caixaPostalServidorEmail; $mail->Password = $caixaPostalServidorSenha; $mail->From = $caixaPostalServidorEmail; $mail->FromName = utf8_decode($caixaPostalServidorNome); $mail->IsHTML(true); $mail->Subject = utf8_decode($assunto); $mail->Body = utf8_decode($mensagemConcatenada);


if(!$mail->Send()){ $mensagemRetorno = ‘Erro ao enviar formulário: ’. print($mail->ErrorInfo); }else{ $mensagemRetorno = ‘Formulário enviado com sucesso!’; }

} ?>

<!DOCTYPE html> <html lang=”pt-BR”>

<head> <meta charset=”utf-8”> <title>Formulário Exemplo Autenticado</title>


<?php if(isset($mensagemRetorno)){ echo $mensagemRetorno; }


<form method=”POST” action=”” style=”width:300px;”> <input type=”text” name=”remetenteNome” placeholder=”Nome completo” style=”float:left;margin:10px;”> <input type=”text” name=”remetenteEmail” placeholder=”Email” style=”float:left;margin:10px;”> <input type=”text” name=”assunto” placeholder=”Assunto” style=”float:left;margin:10px;”> <textarea name=”mensagem” placeholder=”Mensagem” style=”float:left;margin:10px;height:100px;width:200px;”></textarea> <input type=”submit” value=”enviar” name=”enviarFormulario” style=”float:left;margin:10px;”> </form>


In their code, they also provide settings for SMTP. So, you need to specify these settings in a common.yml config file for FormsPlusPHP.

By the way, I am finishing a new version which supports different languages for the validation error messages. Also, I will add a new form which will have a language switcher – as I promise to you earlier.

Best regards, Swebdeveloper

Thank you, I´m watting new vesion, good work.

I have just released a new version of the product! Now, it has all the needed functionality to cover your needs.

Also, specially for you, I added a new form with a language switcher to this new version. You can see how the form looks like here http://swebdeveloper.com/apps/forms-plus-php/ajax-form-contact-with-language-switcher.html

If you have any questions, I will be glad to answer them!

Best regards, Swebdeveloper


Is it possible to choose between two different recipients?

So an option: Send to Mr. Smith or Mrs. Wayne before Button Send

Thanks, Roland

Thank you! I will test it soon as possible.

Now a problem for all european users:

Due to the new European data protection regulation, a checkbox with information text and a link to the privacy policy is necessary. Can this be realized? So put a link to the text associated with the checkbox?

Regards, Roland


Yes, you can do this. The registration form has already had such checkbox – http://swebdeveloper.com/apps/forms-plus-php/ajax-form-registration.html

You can open a config file of the registration form to see how to add this checkbox.

Is that what you need?

Best regards, Swebdeveloper

Hello, I couldnt find a way to edit the collected data fields in de admin panel. Needed every collected field editable by double click on it. Is it possible?


If you want to edit collected data, you need to activate this feature in your config file (forms-plus-framework/app/config/admin.yml):

    permit_editing: true

Keep in mind that you need to have the latest version of the product.

Best regards, Swebdeveloper

Hi, thanks thats working fine now, this product is getting better and better. I recomment this, thats for sure!

Thank you! I am glad to hear that!


I would like return the value of a radiobutton in a variable PHP but it does not work. That works very well for input with this code: $TEST = $POST [“input_name”]; But how return the value of a radiobutton

Thank you in advance


I have just written the code for your case:

if( $form->isValid ) {
    $value = date( 'Y-m-d', strtotime( str_replace( '/', '-', $form->data[ 'attribute_list' ][ 'date' ][ 'final_value' ] ) ) );

thank you very much

You are welcome!

If you have any questions, just contact me any time!

Hey, Nice Script, I managed to include it on my existing page, captcha image wouldnt show up so i disabled captcha. The form is working and im getting the mail, but after clicking on send i get this new blank page with this message : {block”:” <\/i> Thank you:<\/strong> message example.<\/div>”}

even if the form is working


You said that you managed to include it somewhere. I need to look at it myself. There is a million ways on how to include it, I need to know which one of them was applied. Can you provide me with a link to your page privately using a feedback form here https://codecanyon.net/user/swebdeveloper#contact

Best regards, Swebdeveloper

Im sorry i forgot to mention i sended you trough the link

I answered via email!

Good afternoon. First of all congratulate them for this wonderful work.

I have a problem. In “sub-selection.php”, in the SIMPLE section, when I select the first “Device” box, the second “Device model” box is not automatically activated. How can i fix this?

Thank you.

(Translation with Google Translate)


Thank you! I am glad that you like it!

Please, contact me privately using a feedback form here https://codecanyon.net/user/swebdeveloper#contact and give me a link to your form where I can see the problem, please.

Best regards, Swebedeveloper

Calendar is freezing up when you click on a date – https://spokanelandscape.net/test


I can see the problem, let me look at it!

Best regards, Swebdeveloper

I cannot tell you for sure without an opportunity to edit the page, you have the following mistakes that can lead to it:

1. You add jquery on this page twice which is not correct. Just remove it from the head tag:

<script  type="text/javascript" src="https://spokanelandscape.net/js/jquery-1.7.2.min.js"></script>

2. Shift the following JavaScript files to make them last (right before close body tag)

<script type="text/javascript" src="js/custom-main.js"></script>
<script type="text/javascript" src="contact-form/js/jquery.jigowatt.js"></script>

If you do all these things it might solve your problem. If it doesn’t, we will be able to look for mistakes in these two files:

<script type="text/javascript" src="js/custom-main.js"></script>
<script type="text/javascript" src="contact-form/js/jquery.jigowatt.js"></script>

But, we can only check it when you do all the things above first.

Best regards, Swebdeveloper

Just getting started and I love the product already. Nice job. I had a quick question though, can i use the Form Admin area to also collect a form or two that i have located on a different domain? Submit the entries to the central Forms Plus application for processing just like the forms i create using Forms Plus.

I would point all domains and subdomains to the same directory with the product. Then I would configure the .htaccess file this way https://webmasters.stackexchange.com/questions/39868/how-can-i-use-htaccess-to-rewrite-different-domains-to-different-sub-directorie that it would load different form file according to a domain name.

This way, you will not need to change any configuration and extend it with some tricky code.

Thank you for the excellent insight.

I have an embedded form working and submitting properly now. Very happy about this. I do have another question though related to the ajax response based on my test form. The response shows the $data array:

{block”:” <\/i> Thank you:<\/strong> message example.<\/div>”}

(i have not included the framework’s css so its a little ugly but unrelated. Any thoughts on what i’m missing or may be going wrong?


Thank you for the help and your support


Can you give me a link to your form? Or can you provide a screenshot at least?

Best regards, Swebdeveloper


eibarnet Purchased

Good Morning. I have made a form in which I have included a field “Product quality” and I keep correctly the value marked by the user in the Database. Now how can I show the Qualification field with this value, but I can not change its value, since I only want to show what the user has chosen in another form.

Thank you

Translation by Google Translator

Ok, there is no such functionality in the product, but you can easily get it by a regular HTML code like this:

<div class="form-group">
    <label>Product quality</label>
    <div class="p-rating">
        <div class="pull-left">
            <span class="p-rating-active-icon" style="display: inline-block;"><i class="fa fa-star"></i></span>
            <span class="p-rating-active-icon" style="display: inline-block;"><i class="fa fa-star"></i></span>
            <span class="p-rating-active-icon" style="display: inline-block;"><i class="fa fa-star"></i></span>
            <span class="p-rating-icon"><i class="fa fa-star-o"></i></span>
            <span class="p-rating-icon"><i class="fa fa-star-o"></i></span>

eibarnet Purchased

Great !!! It’s what I wanted. Thank you very much.

Good! I am glad to hear that!

If you have any questions, just contact me!

i suggest you make something like notifications inside the admin panel, so that it shows how many new data were collected since the last login beside each form.

it will really be a great addition, and not that hard to be done.


That’s a great idea! I will consider it in the next update! Thanks!

Best regards, Swebdeveloper


haa_james Purchased

Hi swebdeveloper,

Does your application provide a quick and easy way to display a loading image ( some sort of animated .gif) to display on the web page to show the user that the form is being processed?

It seems that there is a delay in the processing and users are pressing the submit button more that once


It has already had such thing, just look at the livepreview. Here is an example: http://swebdeveloper.com/apps/forms-plus-php/ajax-form-comment.html

Which form file do you use?

Best regards, Swebdeveloper


haa_james Purchased

I can see that now, thank you. I was not using an ajax form yet. I will give this a try. I have tried many of your different forms and they all seem to be working great for me but when i make my own forms i will be sure to include this information. Thank you again for the help and guidance.

I am glad to help!

If you have any questions, just contact me any time!