Wordpress Gravity Forms e-mail notification not sending checkbox values - wordpress

I want to send e-mail notification to user when form is submitted. All input field values are sent, but not checkbox values. To get values from input boxes, I use {Field label: ID} , but for checkboxes it sends an empty value via e-mail.
I have 4 checkboxes and the field is called Lisad with ID 11. Shouldn't I be useing {Lisad:11} to get the value and send it via e-mail?

Check-boxes can described in one of two ways: value and checked-ness:
checkbox: A check box. You must use the value attribute to define the value submitted by this item. Use the checked attribute to indicate whether this item is selected. You can also use the indeterminate attribute to indicate that the checkbox is in an indeterminate state (on most platforms, this draws a horizontal line across the checkbox).
Un-ticked checkboxes do not have their value sent when a form is submitted:
The HTML specification says unchecked check boxes are not successful, and thus web browsers do not send them. Unfortunately this introduces a gotcha: if an Invoice model has a paid flag, and in the form that edits a paid invoice the user unchecks its check box, no paid parameter is sent.
Ruby on Rails has a work-around for this, which you may be able to use:
To prevent this the helper generates an auxiliary hidden field before the very check box. The hidden field has the same name and its attributes mimic an unchecked check box.
This way, the client either sends only the hidden field (representing the check box is unchecked), or both fields. Since the HTML specification says key/value pairs have to be sent in the same order they appear in the form, and parameters extraction gets the last occurrence of any repeated key in the query string, that works for ordinary forms.

Related

Woocommerce update_checkout trigger

I made a checkout page with a select field, when i change the select, i call
update_checkout
so that i can add some custom fee based on the select value
also the list of options is (or should be based) on shipping method, this is driving me to a loop that i can exit.
I change the select, the checkout is correctly updated with the additional fee, but when i change the shipping method, the update_checkout is triggered and it recalculate the list of options (and this is correct), but at the moment the select is filled with the new values, the update_checkout is triggered again. And this way the update_checkout recalucalte agai refilling the select (and setting it back to default value)
its quiete hard to explain what is happening, but im looking for a way to intercept what is calling update_checkout.
Solved with a hidden filed (ugly solution), setting the value of the hidden field on select change, the on the 'updated_checkout' i grab the value from the hidden field and if is still present in the select i force the selection. it's not perfect, since there are some "flashes" on the select field that may confuse the user

Is there a setting where we can specify which field the cursor lands in for Harmon.ie

Users are asking if we can manage where the cursor lands for harmon.ie checkins of emails and/or attachments.
There is no way to control on which field the focus will in our edit properties window.
The logic is as follow.
In case there is no required fields:
-The focus will be on the first empty field
In case there are required fields:
-The focus will be on the first empty required fields.
---- Jean

How to dynamically change default value of the drop down field of the gravity forms depending on the selection before landing on the form page

I have a page with a pricing table:
plan A
plan B
plan C
I want to use only one gravity form with a drop down default value filled depending on what the user have selected.
For example, if the user selected 'plan B' from the pricing table, the form will show the drop down 'plan B' selected by default.
Can someone help me with this?
In Gravity Forms for your dropdown you will have a value. I found that as long as the value was one word it was easy to get it to be the default.
For you I would name each of your three things PlanA, PlanB, PlanC
Make sure show values is checked if you want it to be required.
Go over to the Advanced tab check the "Allow field to be populated dynamically" box and then for the parameter name enter a variable. I used default_value. Then on your different Plan names in your table you will need to add this. Plan A
where "planForm" is obviously the link of your page and the default_value is equal to the value of the dropdown item you wish to be default.

LiveCycle ES 2.5 Aws_Action field JavaScript

I have a form that I am designing in Adobe LiveCycle ES 2.5 for a client.
Quick background for the project: It involves taking an even older PDF and converting it to allow digital signatures with potential Reject/Accept buttons.
Does anyone know how to determine in the click event (AWS_SUBMIT::click) for the submit button which submit button was actually clicked??
Like the Reject vs Accept button.
The client only has access to Adobe LiveCycle es2.5 workbench/suite.
The AWS_ACTION field's raw value contains the caption of the button that was clicked, but not until it has been clicked - before that, the rawvalue is null. You can put code in the AWS_SUBMIT button click event to do various things based on the value of AWS_ACTION. I have used it before to do different validation depending on the action taken, eg, if the form is rejected, check that they have entered a comment before allowing it to submit, etc.
The possible values for AWS_ACTION match up with the list of user action names you set in that process task in Workbench.

Access 2010 : Allow combox box search, but lock for edit

I'm just reacquainting myself with Access after a long absence and am getting hung up on some relatively minor things !!
I have a form designed so users can select a ReportID from a combo box and the other fields in the form populates the information. That works great, however I don't want users to be able to update the fields, it's for reference only.
If I lock the form for editing then the combo box select doesn't work - is there a way that I can have a combo box control a form, but not allow editing or updating of any other returned fields ?
Set the fields Locked property to Yes.
You have to change two properties of Combo Box under Data tab Under properties. Following are the properties to be changed:
"Limit To List" the default value for "Limit To List" is "No" change this to "Yes"
"Allow Value List Edits" the default value for "Allow Value List Edits" is "Yes" change this to "No"
After doing this modifications on the default values the user will be allowed to modify the text in the Combo Box, but when the user is leaving the Combo Box the BeforeUpdate event will be fired and the user will get an exclamation message from MS Access.
See the below given pictures for more clarity. The first picture shows the default values, second picture shows changed values and the third picture shows the message if values are edited.
Default Value [1]
![1]: https://i.stack.imgur.com/RxUUa.png
Change To [2]
![2]: https://i.stack.imgur.com/rLnSM.png
Message from MS Access [3]
![1]: https://i.stack.imgur.com/kbPmc.png
**
Kindly reply to this message if this solves your problem.
**
Make sure your combobox is unbound (not linked to a field by its ControlSource property)
position it in the form header (not the Detail section)
set the form's Filter property to the combobox using the expression builder (button with '...')
also set the form's FilterOn property to true
http://msdn.microsoft.com/en-us/library/office/ff194672%28v=office.14%29.aspx

Resources