on 03-07-2014 4:55 PM
Hi experts,
My requirement is i have created one body page that body page is flowed and type western text
and i have two paragraph , in between this two paragraph i have one table. table alignment is not
left most so i have created one text to adjust this alignment
so the
| 1. para ...................................................................................................|
| blank text | table |
|2.para ...........................................................................................................|
so now when there no value in table it is creating a gap in between two paragraph.
i don't no much more abt java script and formcalc please suggest me . any solution for that............
Hi Soumik,
that is a easy issue. Create a condition, where you ask the value, if it is initial.
In this discussion, exact your question is solved.
or here is another way to solve your issue
This is the code you need:
if ( this.yourvalue.rawvalue == " " )
{
this.presence = "hidden";
}
Please use the search, which is located in the upper right corner of SCN before open a discussion.
Here you can learn more about it:
Regards
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this means the field where i suppose to write the java script ............ this will be applicable when in that subform only table is present........ but i want to hide the subform so i made it flowed and type western text......... and i had written
if (data.subfofm.internaltable.data.field name == null)
{ this.presence = "hidden";
}
but it is not working .i have wrap this sub form to another subforn and type flowed
and written
if{data.subform1.subform2.it.data.fieldname == null}
{ this.presence = "hidden";
}
but it is not also working please suggest me how to achive.........this
Your field might be not null, there could be an initial value in there. Work trough the second link, There is explained how to solve the issue already in the interface, then your code should work.
If not, you have to post more details. Especial what event you use for your coding.
Regards
Florian
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.