Questions tagged [formfield]

50 questions
9
votes
2 answers

Chrome adds vertical padding to select options on different computers

EDIT: See bottom for screen shots: I'm just wondering if anyone has come across a similar issue. On my machine, Windows 8 and latest version of Chrome, my select box options all look the way I would expect in terms of vertical spacing. On the…
ScottMichael
  • 111
  • 2
  • 5
6
votes
1 answer

How to use populate_obj in Flask / WTForms with a FormField?

I have a User with a Location. Just as proof of concept the Location is a FormField within the CombinedForm which should be stored as a User Model. Eventually I want to have a fairly large number of nested forms so I would really like…
SebK
  • 487
  • 4
  • 12
4
votes
1 answer

Flutter: Setting a range of accepted values and multiple conditions to a TextFormField validator

I'm using many TextFormFields as number input fields and want to ensure the user can only enter a value from an acceptable range of numbers. For example an age field should only accept numbers between 18 and 100, and only integers rather than…
Maria Morejon
  • 71
  • 3
  • 5
3
votes
2 answers

How to get form field value in onclick event

I am using this article of architecture http://blog.extjs.eu/know-how/writing-a-big-application-in-ext/ in my code: I have this Application.DashBoardForm.js in this i want to pass the value of the fromdate in the onclick event function , how can i…
XMen
  • 29,384
  • 41
  • 99
  • 151
3
votes
1 answer

Change AcroFields order in existing PDF with iText?

I have a pdf with text form fields at are layered one on top of the other. When I fill the fields via iText and flatten the form, the form field that I had created on top of the other form field is now on the bottom. For instance, I have a text…
Matt
  • 33
  • 5
3
votes
3 answers

How to reset ONLY a single input tag in a formfield with just html5

i tried the following example and my aim is to achieve that if i press the reset button, only the field in the current line will be reseted, is this possible with only html5 and no jquery/ javascript ? any ideas are welcome :)
Dominik Zinser
  • 136
  • 2
  • 10
3
votes
2 answers

don't submit form if form is empty

this is my first post and i'm rather new to php + ajax. I have most of my coding set up only problem now is that when i press the submit button an notification shows up that only should show up when the text fields aren't empty. This is my…
user2420635
2
votes
1 answer

Sharepoint FormField validation

I have in the webpart, and a asp.net button on it. the field is required field. when i click the…
Saboor Awan
  • 1,567
  • 4
  • 24
  • 37
2
votes
1 answer

How to extract fieldname of PdfFormField from PdfAnnotation

So I create a radio group using this PdfFormField.createRadioButton() then calling the setFieldName(). However, the PdfAnnotation does not show any keys that stores the field name. I looked at the other dictionaries inside the PdfAnnotation but…
chitgoks
  • 311
  • 2
  • 6
  • 17
2
votes
0 answers

Issue with iText RadioCheckField when displayed on multiple pages

I am creating a PDF in which the AcroForm fields will be rendered inside a table. I am having issue with RadioButtons when they spread across two pages. I have modified example shown on this link…
2
votes
1 answer

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…
Cody Django
  • 786
  • 8
  • 22
2
votes
1 answer

word VBA changing form field to number

Im am using Word VBA to create a form field and then insert a value into that field. Problem is I need to change the data type of the field I have created. Code: ActiveDocument.Bookmarks("Loan_Amount").Select ActiveDocument.FormFields.Add…
Mikey
  • 107
  • 1
  • 3
  • 8
1
vote
2 answers

SharePoint 2007: Formatting a FormField

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:
Jonny
  • 394
  • 7
  • 17
1
vote
2 answers

Prestashop php formfield set value in select dropdown

I have a form created from php with FormField and i have the country field, which contains a list of countries. My question is how can i set a country to be selected, from php and not from html templates ( cause it's created as {form_field…
Ciubakka
  • 33
  • 2
  • 8
1
vote
0 answers

YII2: Add multiple field in form via two saprate models

Create a multiple field form in YII2. For example: I have 2 fields like username and number username store in one table while number store in other table. And user can add multiple number while click on add more. So how can we do that with yii2,…
Ishan Shah
  • 1,665
  • 2
  • 20
  • 42
1
2 3 4