You are viewing limited content. For full access, please sign in.

Question

Question

page break Navigation using Button Click

asked on March 5, 2017 Show version history

Hi All,

I am developing Labour Timesheet for a customer. I have a requirement of adding materials which they use in that particular job. I have created a sample form but i am stuck at a point of adding material against that job.

Problem : 

Please refer my screenshot <1.png>, employee will enter his job number and time entry and when he clicks this "Add Material List" button, the form should navigate to "Material list" Page ( for material list page please refer screenshot <2.png>) and should populate job number and time entry in the fields there. 

 

Please help me to resolve this.. 

Thanks in advance. 

1.png
2.png
1.png (40.87 KB)
2.png (23.45 KB)
0 0

Replies

replied on March 5, 2017

Hi Rajah,

For page navigation button, you could design the customHTML like this so on click it will navigate to the second page:

<script>function nextPage() {$(".cf-pagination-tabs li:eq(1)").click();}</script>
<button type="button" onclick="nextPage()">Add Material List</button>

For populating the value, you could achieve it by using formula. To fill a field with value in a table, use formula =INDEX(Table.Column_1, 1)

0 0
replied on March 8, 2017

Hi Rui,

You are awesome. It worked .. 

Thanks a lot .. 

0 0
replied on March 9, 2017

Hi Rui,

I have one more problem. Please check if you can help me.

In this timesheet there is a material list where i'm gathering all the material information from the database. Once it is gathered i need to edit those information and submit the form.

I can populate those material information from the database but i can't edit it. Even if I change the values, system is populating values from database again.

 

1.png
1.png (32.23 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.