Have a problem with Cronoforms using the Form Wizard: Options that i have defined for a drop-down list just disappear when I press save. That is, not all disappear; there is a small subset of the options left. No matter what I put into the field, the same subset of options reappear. Looks like it is not saving at all (?) 😲
System info:
[list]PHP kompilert på Linux cpanel3.proisp.no 2.6.32-379.22.1.lve1.2.17.1.el6.x86_64 #1 SMP Tue May 14 21:18:13 EEST 2013 x86_64
Databaseversjon 5.1.70-cll
Databasekollasjon utf8_general_ci
PHP-versjon 5.3.27
Nettstedstjener Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Nettstedstjener til PHP-grensesnitt cgi-fcgi
Joomla!-versjon Joomla! 2.5.16 Stable [ Ember ] 06-November-2013 22:30 GMT
Joomla-plattformversjon Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Brukeragent Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0 [/list]
System info:
[list]PHP kompilert på Linux cpanel3.proisp.no 2.6.32-379.22.1.lve1.2.17.1.el6.x86_64 #1 SMP Tue May 14 21:18:13 EEST 2013 x86_64
Databaseversjon 5.1.70-cll
Databasekollasjon utf8_general_ci
PHP-versjon 5.3.27
Nettstedstjener Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Nettstedstjener til PHP-grensesnitt cgi-fcgi
Joomla!-versjon Joomla! 2.5.16 Stable [ Ember ] 06-November-2013 22:30 GMT
Joomla-plattformversjon Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Brukeragent Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:25.0) Gecko/20100101 Firefox/25.0 [/list]
Hi ElToro1966,
This might happen if you have quotes or more than one = sign in an options. What otions test are you using?
Bob
This might happen if you have quotes or more than one = sign in an options. What otions test are you using?
Bob
Hi ElToro1966,
This might happen if you have quotes or more than one = sign in an options. What otions test are you using?
Bob
Bob, I am using the following options:
email1=Hele Norge
email2=Buskerud
email3=Aust-Agder
email1=Finnmark
email2=Hordaland
email1=Trøndelag
...
I also tried replacing the "special characters", i.e., Norwegian characters with HTML-codes, like this:
email1=Hele Norge
email2=Buskerud
email3=Aust-Agder
email1=Finnmark
email2=Hordaland
email1=Trøndelag
...
Neither one nor the other worked. I also tried to replace the spaces with HTML-non-brake-space, but to no avail. I end up having these options only (after saving):
email1=Hele Norge
email2=Buskerud
email3=Aust-Agder
...
Really odd...😲 Haven't tried replacing the hypens as well. Can they cause trouble?
Just discovered something: A lot of the options have the same output values, but chronoform discards all that have repeated values. Only one option, each with different output values, are shown... 😲
Hi ElToro1966,
I think that the options list probably gets converted to an array where any duplicated keys will be lost. Please see this FAQ - the method there will work better and does not show the email addresses in the browser.
Bob
I think that the options list probably gets converted to an array where any duplicated keys will be lost. Please see this FAQ - the method there will work better and does not show the email addresses in the browser.
Bob
Thanks, Bob. That works!
Couple of comments to the entry in the FAQ:
1) It is not easy to find the functions that are referred to in the how-to, so a few screenshots would be really nice.
2) The Events-tab does not show in the wizard when editing an already existing form. It only shows when you create a new form.
Couple of comments to the entry in the FAQ:
1) It is not easy to find the functions that are referred to in the how-to, so a few screenshots would be really nice.
2) The Events-tab does not show in the wizard when editing an already existing form. It only shows when you create a new form.
This topic is locked and no more replies can be posted.