Is it possible to create a button field on my userform that acts like a link
field?
ANSWER:
<!-- Link field to google -->
<Field name='testLink'>
<Display class='Link'>
<Property name='name' value='Google'/>
<Property name='URL' value='http://www.google.com'/>
</Display>
</Field>
<!-- Corresponding button field -->
<Field name='testLinkButton'>
<Display class='Button'>
<Property name='value' value='Google'/>
<Property name='onClick' value='javascript:
location.href='http://www.google.com';return true;'/>
</Display>
</Field>
No comments:
Post a Comment