formfield

SharePoint 2007: Formatting a FormField

Hello, I'm trying to display the page owner and last modified date on the footer of a SharePoint master page for a publishing site. On my master page I currently have: <SharePoint:FormattedString FormatText="Page owner: {0} Last updated: {1:dd/MM/yyyy}" runat="server"> <SharePoint:FormField ControlMode="Display" FieldName="PublishingC...

how to fill up numbers in a form field via a popup key pad(using Javascript/AJAX)

I have a small project, wherein I need to develop a keypad with all the digits+backspace+decimal (all as buttons). These digits when clicked should populate a form field (say a text box). This keypad should be located next to the form field as a link. The keypad should be preferably Javascript/AJAX. Also the keypad routine should have a...

How can I pass a User model into a form field (django)?

Basically, I need to use the User's password hash to encrypt some data via a custom model field. Check out the snippet I used here: Django Encryption. I tried this: class MyClass(models.Model): owner = models.ForeignKey(User) product_id = EncryptedCharField(max_length=255, user_field=owner) ......................................

django filefield issue

filefield works just fine in the admin, but in a template nothing is uploaded upon submit. the form comes back with a "required" error for the filefield. the paths seem to be right, and if they weren't, I don't think filefield would be working in the admin. spent hours on this and I'm stumped. I'm using trunk. Ideas? ...

Other options for accessing input fields with Ruby Mechanize?

According to the documentation: "Mechanize lets you access form input fields in a few different ways". But I can only see one way using accessors. What other options are there? For example: can you reference form field parts like "Mechanize::Form::Text:0x101698168" instead of having to use the name value. ...