Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Reading Checkbox and HTMLTextBox data
  FAQ FAQ  Forum Search   Register Register  Login Login

Reading Checkbox and HTMLTextBox data

 Post Reply Post Reply
Author
Message
Kapil View Drop Down
Beginner
Beginner


Joined: 27 Jan 06
Location: India
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kapil Quote  Post ReplyReply Direct Link To This Post Topic: Reading Checkbox and HTMLTextBox data
    Posted: 30 Jan 06 at 6:48AM

hi guyz,

How can i read values or state of a checkbox/ComboBox and

HTMLTextBox. Plz give some example...

PLz.. Help Me!!!

Regards,

Kapil



Edited by Kapil
Back to Top
shelby View Drop Down
Beginner
Beginner


Joined: 13 Jan 06
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shelby Quote  Post ReplyReply Direct Link To This Post Posted: 30 Jan 06 at 9:51AM
I am still working on the HTML Text Box.  Did you mean a text form field?  If so, the GetFormFieldValue  would return the text.  ( SEE ALSO GetFormFieldValueByTitle
 
 
$QP = ObjCreate("iSED.QuickPDF")   
$QP.UnlockKey("---- YOUR KEY ----")
$QP.Loadfromfile("fieldtest.pdf")
 
; value "Yes" means checked
; value "Off" means not-checked.
 
for $i = 1 to $qp.FormFieldCOunt()
 message($qp.GetFormFieldValue($i))
Next
; OR -----
message($qp.GetFormFieldValuebytitle("CheckBox1"))
message($qp.GetFormFieldValuebytitle("CheckBox2"))
To Err is to try. To fail is to err and not try again
Back to Top
Kapil View Drop Down
Beginner
Beginner


Joined: 27 Jan 06
Location: India
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kapil Quote  Post ReplyReply Direct Link To This Post Posted: 31 Jan 06 at 12:01AM

Thanks Shelby,

I really helped, i just didn't knew these values like "Yes", "Off"..

If there r some more values like this plz lt me know.

I cannot select radio button state to be true by default. Is there any other keyword for seting it..?

Best Regards

Kapil..

Back to Top
shelby View Drop Down
Beginner
Beginner


Joined: 13 Jan 06
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote shelby Quote  Post ReplyReply Direct Link To This Post Posted: 31 Jan 06 at 9:15AM
When you build or load the form
 
$QP.SetFormFieldValue(2,"Yes")
 
OR ( The safest approach as indexes are not necessarily in order on the page )

$QP.SetFormFieldValuebytitle("CheckBox2","Yes")
To Err is to try. To fail is to err and not try again
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store