Forum Replies Created
-
AuthorPosts
-
Alex, Sorry i did not articulate myself well.What i actually I mean is to lookup value
derived through Basic calculations that writes to a single line.I have a form with which has a rule that does a Basic calculation of a total value and what i want is to lookup this value in e-mail notifications. I have tried it but apparently the value is coming up as 0.
Hence the questions, is it not possible to lookup values made through basic calculations? If so how can i lookup this values in e-mail notifications.
Hi Alexander ,
Thanks for the code worked like a charm.
In the end i had to edit my code to make calculations.Here goes,
function total1() {
var t1 = getFieldValue(“zpts”);
var t2 = getFieldValue(“p0h8”);
var t3 = getFieldValue(“_x006f_en6”);
console.log(t1)
console.log(t2)
console.log(t3)var total = (parseFloat(t1) + parseFloat (t2) + parseFloat (t3));
console.log (total)
jQuery(“#dffs_h4hm .ms-formbody”).html(total);
}Hi Alex,
After inserting the above code the intial code works like a charm.!!
Thank you so much!
Here goes,
Attachments:
The getFieldValue returns the date.
RegardsAttachments:
Hi Alex,
The date value is not being returned. ( invalid date).Please
see print screen.Regards
Attachments:
Hi Alex,
From the Logging the date value seem to returning as 0 please see the print screen
attached.Attachments:
Hi Alex,
I tried it but i am getting an NaN of the set field.I do not know if i am doing something wrong.
Attachments:
Hi Travis,
Thank you for your contribution to the community, I have used a bit of you code it
really improves the look of the forms.Thank you.
Hi Alexander ,
I copied the code however the multichoice options are not being formatted.Maybe
I am lacking fundamental undestanding.Basically i would like to arrange them in two
rolls.
e.g XXXXXX XXXXXXX XXXXX XXXXX XXXXX
XXXXXX XXXXXXX XXXXX XXXXX XXXXX.Attachments:
Hi Alexander,
I am trying to configure the Side by Side formatting on New form.I have been trying to follow the instruction on the link below without success.
https://spjsblog.com/dffs/dffs-styling/.
1. I want to assign formatting to my SBS sides which was lost after i activated the SBS settings.The link above mentions inserting this code in custom JS and Custom CSS
.sbs_FieldTable *{
width:auto !important;
}
/* Ensure the tooltip icon won’t collapse */
.customTooltipIcon{
width:18px!important;
}However when i do so , i get the following erros in both CSS and Custom JS.
AT this stage i have my SBS columns with no formatting.2.
I have a filled with multiple options i would like to display on the form.In the link there is this snippet
function showChoicesOnSeparateLines(fin){
jQuery(“#dffs_”+fin+” td.ms-formbody”).html(getFieldValue(fin).split(“; “).join(“<br>”));
}showChoicesOnSeparateLines(“categoria”);
However when saving the code it generates erros as shown in attached print screen 4.Attachments:
Hi Akex,
Thanks a lot.I did as you suggested its working now.HI Alexander,
Sorry to not have come back earlier.However i tried the Custon Js and i am getting an error which i just cannot figure out. Please see the screen shots.Attachments:
We are using the below sated
DFFS Backend v4.4.1.2|CSS version: 4.16 / |spjs-utility version: 1.267Sorry forgot print screen
Attachments:
-
AuthorPosts