PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Fri Nov 15, 2019 7:03 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Oct 10, 2019 1:55 pm 
Offline

Joined: Fri Sep 13, 2019 8:41 pm
Posts: 3
Hi,

I have to fill form with interactive fields (fields visibility depend on other fields value).

What i'm looking for is changing fields visibility using PDFSharp to replace behavior done using javascript when the form is filled by a user.


Code:
<script type="javascript">
//event fired by mouse click event
if (condition) {
    getField("FieldName").display = display.visible;
} else {
    getField("FieldName").display = display.hidden;
}
</script>


Thanks


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group