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

Question

Question

How to clear a column on a table after submitting.

asked on June 21, 2023

Hi. 

I have been trying to clear the link column and preventing it from showing the actual link(it looks untidy) in text form. i have created a hyperlink and it correctly displays this link as intended, however, when i go to my "Monitor" screen and view the tasks(prior to the main completed task "User Task(1)"), it displays the untidy link.

I need help clearing this untidy link so that it does not display anything in the LINK column and keeps the final form as it is now

I have used the following CSS and JS code to get to my current result

When i clear the link value then the hyperlink on the final submission disappears as well. i need the untidy url to disappear on submission but keep my hyperlink on the final form

 

0 0

Replies

replied on July 3, 2023

Hi Enayath,

The readonly form has different structure compared with the normal one. So your js may need some adjustment according to the difference.

 

For example, the query to select the hidden url tag can be changed to:

var display = $(this).find('.url input').val();
if (display === '' || display === undefined){
      display = $(this).find('.url div.ro')[0].innerHTML;
 }

Another thing to notice is that the linksshow function is executed when onloadlookupfinished event, such event won't trigger in a completed form.

1 0
replied on July 26, 2023

Hi Shengyao,

Thank You for the feedback

I have tried using your guide but it still does not clear the prior form field URL, is there a simpler way you could guide me as im not sure why its not clearing the link text

0 0
replied on July 26, 2023

Hi Enayath,

Can you open up a support case and provide the full bp you are working on? So that I can reproduce on my side and see what went wrong.

1 0
replied on July 28, 2023

Hi Shengyao

I have submitted a support case in which i explain everything that i am trying to achieve.

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.