1. alextunas
  2. Bug Report
  3. Wednesday, February 19 2014, 11:16 PM
I have created some fields that are visible on the record, but not in the profile. But when I go into the profile, I can see them and change them.

They can be viewed, but not make them editable?
image attached
Attachments (1)
admin Accepted Answer
Admin
Hi,
Can you post me your site details? Use the form below the reply(site details tab).

Also we will look at the other problem (auto calculated field).

We will check these things tomorrow, it's night for us and I reply from a smartphone.
  1. more than a month ago
  2. Bug Report
  3. # 1
alextunas Accepted Answer
adjunto datos in site details tab
  1. more than a month ago
  2. Bug Report
  3. # 2
admin Accepted Answer
Admin
Hi,
These fields there are hidden in profile (see screenshot). if you don't want to see these field on profile edit you can edit the parameter "Hide on edit profile" in edit fields parameter (this option value not shown on list field).

For the problem of auto calculating you have inserted the wrong alias of fields, the correct alias is pregunta-1,pregunta-2,pregunta-3 not pregunta_1,pregunta_2,pregunta_3
Attachments (1)
  1. more than a month ago
  2. Bug Report
  3. # 3
alextunas Accepted Answer
to the first answer: ok
to the second answer: I modified the alias, but I can not see the value. You can put a hidden field that is not the sum and see??
As I can see that it does well?

Thank you
  1. more than a month ago
  2. Bug Report
  3. # 4
admin Accepted Answer
Admin
Hi,
post me your ftp details via Private message.
we do for you.
  1. more than a month ago
  2. Bug Report
  3. # 5
alextunas Accepted Answer
attachment site data details tab. Next week we review. thanks
  1. more than a month ago
  2. Bug Report
  3. # 6
admin Accepted Answer
Admin
Can you resend please, this not work (login incorrect message)
  1. more than a month ago
  2. Bug Report
  3. # 7
admin Accepted Answer
Admin
ok, ftp not necessary.
i found the problem

your script
jQuery(document).ready(function($)
{
$('#member-registration,#member-profile').submit(function() {
var tot = 0;
if ($("[name ='jform[pregunta-1]']:checked").length)
tot += parseInt($("[name ='jform[pregunta-1]']:checked").val());
if ($("[name ='jform[pregunta-2]']:checked").length)
tot += parseInt($("[name ='jform[pregunta-2]']:checked").val());
if ($("[name ='jform[pregunta-3]']:checked").length)
tot += parseInt($("[name ='jform[pregunta-3]']:checked").val());
$("[name ='jform[sumatotal]']").val(tot);
alert(val);
});

});


Errors:
- alias of pregunta 3 is pregunta3, not pregunta-3
- in alert you have set 'val' variable, the correct is 'tot'. this generate a javascript error

correct script (tested with script debugger on your site)
jQuery(document).ready(function($)
{
$('#member-registration,#member-profile').submit(function() {
var tot = 0;
if ($("[name ='jform[pregunta-1]']:checked").length)
tot += parseInt($("[name ='jform[pregunta-1]']:checked").val());
if ($("[name ='jform[pregunta-2]']:checked").length)
tot += parseInt($("[name ='jform[pregunta-2]']:checked").val());
if ($("[name ='jform[pregunta3]']:checked").length)
tot += parseInt($("[name ='jform[pregunta3]']:checked").val());
$("[name ='jform[sumatotal]']").val(tot);
alert(tot);
});

});
  1. more than a month ago
  2. Bug Report
  3. # 8
alextunas Accepted Answer
ok, thanks, if it works correctly.

You could display a field with the value once you have registered, as the screen goes, that attachment??
  1. more than a month ago
  2. Bug Report
  3. # 9
admin Accepted Answer
Admin
hi,
here (your screenshot) not possible, in this screen the user are not logged in. You can't retrieve the data.

You can add the fields after user logged in. Use our content plugin (http://www.easy-profile.com/docs/26-plugin-content.html) to retrieve the data.

So you may do:
- create a menu item to display field with the value (with content plugin)
- set in easy profile configuration to go in this page on first login
- when user logged in go to this page
  1. more than a month ago
  2. Bug Report
  3. # 10
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.