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

swebdeveloper

swebdeveloper supports this item

Supported

This author's response time can be up to 1 business day.

156 comments found.

fsthai

fsthai Purchased

Hello,

According to this example (Actions > Add block > + Add Fields Group 2) : http://swebdeveloper.com/apps/forms-plus-php/actions.html

I’ve few questions here: I’m now understood how to construct the simple ‘add block’ from your example. Assume that I’ve more than one pre-defined fields and want them to be included into my ‘add block: Add fields group 2’ once after the page loaded, what is the code?

PS: ‘Max 3 additional fields’ has in-corrected functioning, it can add more than 3 additional fields.

Best regards!

fsthai

fsthai Purchased

Hi,

I’m developing the code in IIS, not upload to server yet.

I’d like to know how to write code for importing first two groups to clone variables (field3 &4).

I see in example that: foreach( array_slice( $form->cloneIndexList( ‘add_block_fields_group_field_3’ ), 1 ) as $index ) { ... }

I want to add my first two groups data to this array variable ‘add_block_fields_group_field_3’, but I’ve no idea to do that?

Assume that I’ve first two groups data as follows: add_block_fields_group_field_30 = ‘abc’ add_block_fields_group_field_31 = ‘def’ add_block_fields_group_field_40 = ‘ghi’ add_block_fields_group_field_41 = ‘jkl’

in my YML file: add_block_fields_group_field_3: datatype: text label: “Field 3” placeholder: “some text” cloning: true add_block_fields_group_field_4: datatype: text label: “Field 4” placeholder: “some text” cloning: true

Best regards

Hello!

I have developed a form with the functionality that you asked for in the previous comment. I sent it via email, just check out your email.

Best regards, Swebdeveloper

fsthai

fsthai Purchased

Checked w/ received, thank you for your helps

Best regards, Krit Th.

fsthai

fsthai Purchased

Hello,

Two questions about text input box:

1. I want to put ‘readonly’ in my text input, what is the code I’ve to write in YML?
attribute_list:
    name:
        datatype: text
        label: "Name" 
        placeholder: "Name" 
        autocomplete: "off" 
the output should be as follow w/’readonly’ element:
<input class="form-control" placeholder="Name" required autocomplete="off" type="text" id="name" name="name" aria-required="true" readonly>

2. If I want above input (1.) to be focused once the form is loaded, What is the YML code? By default, I always select the first default form element by $(selector).focus() via javascript.

Thank you with Best Regards, Krit Th.

Hello!

I have just developed a patch that adds support of it.

You should use the following options readonly: true and autofocus: true. So, the config for your field should look like this:
attribute_list:
    name:
        datatype: text
        label: "Name" 
        placeholder: "Name" 
        autocomplete: "off" 
        readonly: true
        autofocus: true

It solves both your questions. But, first contact me via email, I will send you the patch.

Best regards, Swebdeveloper

I have a hard time to change the datepicker in the booking form:

I read that the file for example – form-booking.yml should be changed: So – at the very top of the file i write:

imports: [”../common.yml”] name: “Form Booking” locale: datetimepicker: [de]

AND I should have the following SOMEWHER- BUT WHERE????

datetimepicker_input_custom_locale: datatype: datetimepicker label: “Custom locale” value: “today” datetimepicker_option_list: locale: de

:::::::::::: in the attribute_list of form-booking.xml I got:

check_in_date: datatype: datetimepicker label: “Check-in date” placeholder: “dd.mm.yy” required: true datetimepicker_option_list: format: “DD.MM.YYYY” keep_open: false min_date: “today”

check_out_date:
    datatype: datetimepicker
    label: "Check-out date" 
    placeholder: "dd.mm.yy" 
    required: true
    datetimepicker_option_list:
      format: "DD.MM.YYYY" 
      keep_open: false
      min_date: "+1 days" 
    js_min_field: check_in_date

...>>> writing locale: de in that section does not work?? so - how to change the language of datepicker I don’t get it! Please help

Good! I am glad that it works fine now!

Know I “found” a folder with a lot of help.
The demo folder is just what I needed!

..\forms-plus-framework\app\config\demos\...

Great examples!

Also, you should keep in mind that all config files in: forms-plus-framework/app/config/demos and forms-plus-framework/app/config/forms have their form files in the root directory of the product, but with .php file extension.

So, you can go through all these PHP files and find examples or parts of a form that you want to use in your form.

Is it possible to

1) “import” email recipient from a certain database?
2) use the costumer Name AND Emailadress as the sender of the inquiry??

In common.yml i read:

storage:
database:
host: localhost
name: my-database
user: admin
password: password

mail:
message:
admin:
recipient_list: [my_email@adress.com]
sender: office_of@my-emailadress.com

# user:
# recipient_list: [@email@]
# sender: info@example.com

design:
name: modern
color: steelBlue



To 1) I would connect to database and then write something like:

mail:
message:
admin:
recipient_list: [<?php echo $row1['email']; ?>]
sender: my-choosen-emial@adress.net

To 2) hopefully there is a shortcode to use the senders name and email as sender of Email…

AND, by the way: in common.yml I read
# user:
# recipient_list: [@email@]
# sender: info@example.com

what is that?? I can’t find description….

Perfect – THANK YOU!!!

Thank you for your review! I appreciate that!

Ok – perfekt for me….
Is it possible to write a Name and Emailadress as the sender of Emails..

Like:
recipient_list: my-emailadress@email.com
sender: <Mister Smith> mister.smith@email.com>


...
Thats just a try… but how to I write name plus email <> or [] or in {}

I wonder if there is some sort of hidden field options?

I checked documentation and yaml wiki for datatype hidden, but could not find such a thing…

would like to send some page infos for admin receiver ….

Hello!

It’s good, now you know how the “data” data type work.

I don’t understand this:

like footer NOT in the “normal ” value area?

Can you clarify?

Can I use data from database as value in hidden fields?

Yes, you can. Are you going to use the data from your own DB? Or from DB of ForsmPlusPHP?

Why? I would like to have some page info of the inquiry plus date of the sender filling out

Is it a permanent page where you can see all collected data? Or you want to have the page which is shown after a form submission (like “thank you” page)?

sending the form and to whom that form has been sent – if I only get the copy

Yes, you can send email messages to permanent people whose email addresses are defined in the config file and also to an email address which is entered in the form.

or some other info stuff I could draw out of database…

What do you mean here?

<?php echo $attribute[ ‘hidden_info1’ ]; ?>

The following code will work for you form if it’s not AJAX:

if( $form->isValid ) {
   echo  $form->data[ 'attribute_list' ][ 'hidden_info1' ][ 'value' ];
}

If you have any other questions, just contact me!

Best regards, Swebdeveloper

| like footer NOT in the “normal ” value area?
..> using a hidden field means that the value of the hidden is within the list of all other fields that where sended!


like
color: red
size: big
hidden_field: value of hidden field
text: some text on the shirt

I would like to use the value of the hidden field in a total other place of that Email for example in the footer area or as a Titel before all fields that where filled out…/ sended… ........................... | Can I use data from database as value in hidden fields?
| Yes, you can. Are you going to use the data from your own DB?
| Or from DB of ForsmPlusPHP?

—> My own database!
........................ | Is it a permanent page where you can see all collected data? | Or you want to have the page which is shown after a form submission | (like “thank you” page)?

It could be both! At the Thank you page – it could be like… that information will be sent to… person/department ABC

But the main deal for me is the email that is sent. That Email would say like: That inquiry is for > Department Technic Was sent from demopage.php at 8:32 pm

And yes it is a permanent page

Hello!

I will answer you via email.

Best regards, Swebdeveloper

Hi Swebdeveloper,

Absolutely love your Form Framework – thanks for doing an amazing job.

Question: Is it somehow possible to include a table into the form? I am trying to include a table with 5 rows and 5 columns where visitors can submit the schools they attended and the scores, etc they received in each school. I could not find anything in the samples and am wondering whether something like this is even possible to include in a form as well as submitting the results correctly in an email.

Thanks a lot.

AJ

Hello!

Thank you! I am happy that you like it.

Can you show me an example on how this table should look like. Because, if you are talking about regular tables in HTML – they don’t collect any data, they just show information as a table.

Best regards, Swebdeveloper

So I am looking at your tool to see if it will work for my needs. I need to create a form like the one seen in the following screenshot https://goo.gl/yUeRBH. I want to be able to have a person enter the Unit price for an item the quantity and based on it automatically mutiplying those two things it populate a value in the Total column. I then want to be able to take sum the “Total” column and place it in a column at the botom called “Grand Total”. Can I do this with your form tool?

The goal is to have staff complete this form and it gets emailed to the purchase office email inbox for review and approval.

Can created forms be embedded into Wordpress sites? If I host this on a subdomain of my main web domain can I create standalone forms that are not embedded into pages of Wordpress?

Hello!

Do you mean something like this: http://swebdeveloper.com/apps/forms-plus-php/ajax-form-checkout-steps-calculations.html

Using “calculations” functionality, you can do what you want.

Also, forms can be embedded in WordPress and can be used standalone.

You need to take into the consideration that this product is not a builder, it’s a framework. It makes your life easier, but for complicated stuff you need to know programming in PHP and HTML.

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

Best regards, Swebdeveloper

Hi again,

Hi, I would like to request a refund for Forms Plus PHP. I wasn’t aware I couldn’t use images types like SVG. I think it’s a good product but I can’t use it. Thank you for your understanding. tmc

Hello!

Actually, you can use SVG images in forms. But, you need to have more than that. You need to be able interact with them: change color of the car which means that the car should be drawn in vectors and you need to change a color of layer which is responsible for car’s color.

If you want to request a refund, you can do this in the following way: https://help.market.envato.com/hc/en-us/articles/202821460-Can-I-Get-A-Refund-

Best regards, Swebdeveloper

Hello,

With:
    tab5_file1:
        label: "Attachment" 
        datatype: file
        browse_button_side: right
        required: false

I want to limit the file extensions to ‘docx’ and ‘pdf’ only, what is the code?

Best regards Krit Th.

Solution was found!

Thank you & Best regards, Krit Th.

Good!

If you have any other questions, just contact me!

Best regards, Swebdeveloper

Hi, great script you have developed,

I have been researching the market for a good form framework and have pre-purchase questions i would like to ask:

1. Is embedded iFrames the only option available to integrate forms within your current html form? Is there an option to add my custom html and css?

2. I have developed custom forms within my html pages, is there an option available to link the html submissions to the framework/php admin page?

Example:

<form id=”search-form”> <label class=”custom-checkbox-label”> <input type=”checkbox” class=”custom-check” name=”property-report” value=”yes” checked> Page Report </label> <label class=”custom-checkbox-label”> <input type=”checkbox” class=”custom-check” name=”rental-estimation” value=”yes”> Page Estimation </label> <input class=”form-control” name=”q” placeholder=”Enter full address ”> <button class=”button” type=”submit”> Search</button> </form>

3. How are the forms customized? Do you offer support for custom HTML / CSS forms?

Hello!

1. Iframe is the easiest way to integrate these forms. If your website has pages that are written in PHP, you will able to integrate them too with little knowledge of PHP and HTML.

2. Yes, it’s possible. But, it’s not very convenient, because you will need PHP to generate HTML of your form, then you will need to copy this HTML and insert in your HTML pages with all needed CSS and JS files.

3. These forms can be customized by changing PHP files of the forms and their config files. So, you need to have basic knowledge in PHP and HTML for that. I am not available as a freelancer, because all my time is taken by developing, improving and supporting my products, but I am always ready and happy to help and I always do.

If you have any questions, just contact me!

Best regards, Swebdeveloper

Very good script, 1.I am trying to edit form-order-service.php, but giving me this error ([18:03:46] forms-plus-framework/app/config/forms/form-order-service.yml. Error. YAML error in the “forms-plus-framework/app/config/forms/../common.yml” config file. Unable to parse at line 3 (near ” host: localhost”). and all the database settings are okay

2. if i have more than one forms, should i configure common.yml for each and every form

Hello!

Thank you for your review! It inspires me a lot! And I am happy that you like it!

1. The debug prompts you that you have a wrong syntax at line 3 in forms-plus-framework/app/config/forms/../common.yml file. This error shows that it’s only about wrong syntax in the config file. All config files use YAML syntax, you can read more about it on WIKIPEDIA https://en.wikipedia.org/wiki/YAML#Example I can also help you with it, but in this case you should send your config file file via email. I will correct it.

2. The common.yml is initially intended to be the same for all forms, that’s why I named it common. The idea is that all repeated settings should be placed there, like DB settings, Email setting and so on. You can read about this in the documentation of the product: documentation/index.html#import-config-file

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

If you want to contact me privately, for example, to provide your config file, you should do it via a feedback form here https://codecanyon.net/user/swebdeveloper

Best regartds, Swebdeveloper

Thank you soo much, got it working now, I would like to save the data collected to certain table in my db, as well as edit the same data, where do I configure the script so that the data collected can be saved in a table in my db, thank you

I have just answered via email! Please, check this out!

Error: the database is well configured, and the tables are there after submitting the forms but this error, [10:08:52] forms-plus-framework/app/config/forms/form-order-service.yml. Error. MySQLi result query error: Table ‘fdmis.collected_forms’ doesn’t exist in engine

Please, send me a link to your form via email.

i want to disable this feature (product to store the collected data) and store data using my own DB structure? store data in my own data structure, how can I go about it would like to use php mysqli

Thank you

Hello!

I have just answered via email!

Best regards, Swebdeveloper

H there,

Really like this.

Before purchasing this as it happened to me already, is this easy to implement on a html/css website?

Also for file upload would I still need a server side script which would check and process the uploaded files and would all this info be received to an email I provide?

Regards

Hello!

Thank you! I am glad to hear that you like it.

Before purchasing this as it happened to me already, is this easy to implement on a html/css website?

It’s quite easy to implement on a website, but you need to have basic skills in programming. I would recoommend you to read a documentation for this product before you buy it. Contact me via feedback form here https://codecanyon.net/user/swebdeveloper#contact I will send you the documenation.

Also for file upload would I still need a server side script which would check and process the uploaded files and would all this info be received to an email I provide?

Yes, you can use a simple form with a “file” field. After submission, the file will be stored on your server and accessible via admin panel and also an email message will be sent to a recipient.

Here is an example of a form with the file upload: http://swebdeveloper.com/apps/forms-plus-php/ajax-form-support-request.html

After submission you can see how it looks like in the admin panel: http://swebdeveloper.com/apps/forms-plus-php/php-livepreview/admin.php

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

Best regards, Swebdeveloper

zimjas11

zimjas11 Purchased

Good day, Are you available for custom installation?

I require full installation with HTML files and deployment on VPS server,

If possible would require custom developement integrated with cake PHP CRUD blog project,

Hello!

Unfortunately, I am not available as a freelancer, because all my time is taken by developing, improving and supporting my products.

I am always happy to help. I can help you install FormsPlusPHP on your website. But, I won’t be able to dedicate my time for a full time development to integrate it with “PHP CRUD blog project”.

If you have any other questions, just contact me any time.

Best regards, Swebdeveloper

zimjas11

zimjas11 Purchased

Thank you, could you recommend any good developement companies who is capable of taking on our project?

I wish I could recommend something, but I am not a freelancer and I don’t know any freelancers. I am sorry for that.

You can start your search from here https://www.fiverr.com I hired a service there once. I am not sure if it’s good, but it’s something.

How to make form (pop-up) which help our customers calculate items and send order? For example: Customers select items which want to include on order then click on button confirm.

Hello!

It’s possible, I have lately described it in FormsPlusJS comments.

Best regards, Swebdeveloper

by
by
by
by
by
by