How to crerate webform element

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to crerate webform element

L2 Linker

Need help in creating webform element

 

X-path :-/html/body/div/div[2]/div/div/div[2]/form/button

 

 

 

<button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*='size-'])]:size-4 shrink-0 [&amp;_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive bg-primary text-primary-foreground shadow-xs hover:bg-primary/90 h-9 px-4 py-2 has-[>svg]:px-3 w-full" type="submit">Sign In</button>

 

2 REPLIES 2

L4 Transporter

Hello,

Here are a couple of references - The first one is for self-hosted but should be adequate

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm

https://community.cyberark.com/s/article/WebFormFields-Commands-Guide

 

Your xpath example would be turned into /html/body/div/div^[2^]/div/div/div^[2^]/form/button with the carets entered before the brackets.

L4 Transporter

Hi @Dandla Praveen Kumar​ ,

 

Use the below syntax for your example.

 

/html/body/div/div^[2^]/div/div/div^[2^]/form/button>(button)(SearchBy=xpath)

 

Further, refer to the below article to get an idea about web form field creation

 

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_webapplication.htm#Webformfie...

  • 53 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!