benspr
Forum Replies Created
-
Forum: Plugins
In reply to: [M Chart] Highcharts output not scrollable on mobileLooks like the code I need to add for the Highcharts column spacing is this:
plotOptions: {
series: {
pointPadding: 0,
groupPadding: 0,
borderWidth: 1,
shadow: false
}
},Would appreciate any guidance on how to put that into a template/theme file.
- This reply was modified 6 years ago by benspr.
Forum: Plugins
In reply to: [Calculated Fields Form] Tooltip durationOh! I found the tooltip timeout in fbuilder-pro-public.jquery.js.
I changed it to 9 seconds, and it seems to work fine. Hooray!
Forum: Plugins
In reply to: [Calculated Fields Form] Submit button is not workingThank you, that change did the trick!
Forum: Plugins
In reply to: [Calculated Fields Form] Display a div on Thank You page based on input valueBrilliant, thanks!
Forum: Plugins
In reply to: [Calculated Fields Form] Display a div on Thank You page based on input valueI’ve tried a few variations on this code, including making two, not nested blocks. Here is the most recent non-working code:
[CP_CALCULATED_FIELDS_RESULT]
<script>jQuery(function(){
if(‘< %fieldname9%>’ == 0) jQuery(‘#hideforbad’).show();
});</script>
<script>
cpcff_default = { 1 : {} };
cpcff_default[1][ ‘fieldname19’ ] = ‘< %fieldname10_value%>’;
cpcff_default[1][ ‘fieldname20’ ] = ‘< %fieldname11_value%>’;
cpcff_default[1][ ‘fieldname21’ ] = ‘< %fieldname3_value%>’;
cpcff_default[1][ ‘fieldname22’ ] = ‘< %fieldname6_value%>’;
cpcff_default[1][ ‘fieldname39’ ] = ‘< %fieldname9_value%>’;
</script>
[/CP_CALCULATED_FIELDS_RESULT]I’ve also tried it with just one “<script>” tag, while removing the “});”
Thanks for your assistance.
Forum: Plugins
In reply to: [Calculated Fields Form] Database query error with Platinum editionThanks! That got it sorted.
Forum: Plugins
In reply to: [Calculated Fields Form] Display a div on Thank You page based on input valueSomething isn’t working within this solution. Each time I add the code above to my thank you page, it causes the existing functions of my [CP_CALCULATED_FIELDS_RESULT] to break.
The first from is here: https://solarpowerrocks.com/texas-solar-programs/
The page where I’m trying to use the code is here: https://solarpowerrocks.com/texas-solar-programs-2/
The [CP_CALCULATED_FIELDS_RESULT] code on the second page is designed to move the city, state, and ZIP from one form to another, and also to trigger the hidden div (id=”hideforbad”) if fieldname9 from the earlier form == 0. (in this case, to test)
Please advise.
Forum: Plugins
In reply to: [Calculated Fields Form] Database query error with Platinum editionThank you. We’ve tried a couple ways and can’t get it to work. Here’s a message from my co-worker:
Database table:
ZIP_CODES
Columns:
zip, state, city, state_abbrevA test form is here:
https://solarpowerrocks.com/texas-solar-programs/First page of the form is a single line text – fieldname3
Then a page break
Then two Line Text DS fields
Both with datasource Database
Both with working connectionsqueries
SELECT state FROM ZIP_CODES WHERE zip = <%fieldname3%>
SELECT city FROM ZIP_CODES WHERE zip = <%fieldname3%>(yes, I know I can use a RecordSet DS to make it a single query, but I want to know how to make it work this way first)
Expected behavior is filling out zip, then clicking to next page, both fields should be populated by the database queries. Not working.
Thank you. Do those work inside form fields as well? The majority of my calculated form is actually on the thank you page, and these links would be going in html fields within the form.
Forum: Plugins
In reply to: [Calculated Fields Form] Autocomplete fills “Last Name” field with address.Thank you, Failing that, is there a way to reassign a name to the input field so that instead of, for example:
<input id=”fieldname51_1″ name=”fieldname51_1″ minlength=”” maxlength=”” class=”field large required cpefb_error” type=”text” value=””>
We can make it:
<input id=”fieldname51_1″ name=”lname” minlength=”” maxlength=”” class=”field large required cpefb_error” type=”text” value=””>
So that Chrome automatically reads it as a lastname field?
Or some way to add an attribute to the input like this:
<input id=”fieldname51_1 name=”fieldname51_1″ autocomplete=”family-name”>
??
Source: https://developers.google.com/web/updates/2015/06/checkout-faster-with-autofill
- This reply was modified 7 years, 3 months ago by benspr.
Forum: Plugins
In reply to: [Calculated Fields Form] Autocomplete fills “Last Name” field with address.Right, I know it is. I’m saying that even when it’s turned off, autocomplete is possible with my Android phone. I just turned it off if you’d like to try again.
Forum: Plugins
In reply to: [Calculated Fields Form] Autocomplete fills “Last Name” field with address.Hi,
I’ve tried that before, and unfortunately, autocomplete still tries to fill the fields on Chrome for Android.
So, failing a solution to correct the autocomplete, a solution to stop mobile browsers from autocompleting would be much appreciated, Thanks!
Forum: Plugins
In reply to: [Calculated Fields Form] tooltip won’t float:right;Forum: Plugins
In reply to: [Calculated Fields Form] tooltip won’t float:right;Forum: Plugins
In reply to: [Calculated Fields Form] tooltip won’t float:right;Actually, I’d like to give it a margin as well. It’s hiding content in my Google Places field dropdown.