292 questions
0
votes
2
answers
51
views
Re-assigning event handler to fields doesn't work in my custom hook
In my Next.js application, I created a custom React hook called useFormChangeDetector. As the name suggests, it detects changes to fields and compare the new values with the original ones, in order to ...
0
votes
1
answer
64
views
How do you set a Dim and Set a ContentControl box?
I have a Word doc that has Content Control boxes and Form Fields.
My macro deals with the Form Fields without issue because of:
Dim oMPERFields As FormFields
Set oMPERFields = LogFile.Formfields
The ...
0
votes
1
answer
182
views
antd form.setFieldValue not working as expected
I am using form.setFieldValue to modifying the form field value which contains the combination of serial and number. But it only takes the number part even though I put them together and created a ...
1
vote
1
answer
282
views
Not able extract all the tags from pdf using iText-8 getAllFormField Method
As per the iText 8 version migration from iText 5.5.
We are unable to extract the tag from PDF by using new iText 8 code but able to extract using old iText 5.5 code.
Below is the code to get the tags....
0
votes
1
answer
155
views
Angular Material Version17 Mat Calendar is not getting close on date selection or on backdrop need a refresh to close the picker whole screen is freez
<div class="ui-lg-3 ui-md-2 ui-g-12 story-section">
<mat-form-field rds-form-field class="w-90">
<mat-label rds-form-field-label>End Date</...
0
votes
0
answers
116
views
MS Word IF Reference not working when selecting from Form Drop Down
I'm trying to link address lines (IF References) to a location dropdown list but it doesn't seem to work.
Please see snippet of code below, what is wrong with the code cause when I select a location ...
3
votes
1
answer
3k
views
MUI React remove outline border on focus
I have been trying to place 2 MUI inputs under the same label to create a custom field. I found the solution by wrapping the fields in another TextField as a div, but this has some undesired effects ...
0
votes
1
answer
148
views
Multiple bookmark and formfields replacement from excel to word not working anymore
Some time ago, I created this macro with vba which worked very well with Office 2003. It still works with Office 2021 as long as you don't modify the Word file. If I change it, it can no longer see ...
0
votes
1
answer
243
views
Use custom form fields outside add-to-cart form on WooCommerce single product pages
I'm modifying this code and need to place the "optionals" div in the product summary hook, if I replace the but if I replace woocommerce_before_add_to_cart_button with ...
0
votes
1
answer
82
views
How to refer to the in-built Default value for a text FormField in Excel VBA
I am trying to write some code in Excel which loops through a number of documents and extracts details from FormFields. The documents are all produced from the same template and users can only enter ...
1
vote
0
answers
60
views
Trouble Rendering Nested MultiValue Form Fields in Django - ProductPropertyField
I'm working on a Django project and facing difficulties while trying to create a multi-value form field called ProductPropertyField. My goal is to include multiple instances of ProductPropertyField ...
0
votes
0
answers
191
views
how to hide pdf form field with IText 7
I tried to hidden a form field in pdf using latest Itext 7, but could not find any solution.
I've searched the web, got example like that:
using (PdfReader reader = new PdfReader(src))
{
using (...
0
votes
0
answers
63
views
Updated pdf fields don't show up when page is written - French CERFA document
I try again publishing this:
I need to fill forms from one formular to another pdf document:
link to the final pdf document:
https://entreprendre.service-public.fr/vosdroits/R23301
here the function ...
1
vote
0
answers
35
views
How to pass value from formfield into executable JSON
I would like to fill in the textfield on the html and when I click the button, the value of that textfield should automatically be passed onto the value for "name" under CURLOPT_POSTFIELDS. ...
1
vote
1
answer
84
views
Nested loops based on WooCommerce cart items and quantity
I use a for loop, which takes attendee details for an event. Currently, it generates the statements based on the total number of items in the cart, displaying in checkout some group of fields based on ...
1
vote
1
answer
1k
views
Adding some billing fields to WooCommerce My Account Edit account form
By design all three forms - checkout, register and edit_account are the same. So I have to add all needed fields to edit account form, because edit address form from myaccount isn't needed by design ...
0
votes
1
answer
705
views
MS Word VBA to check for empty text form fields upon file close/exit
I need a Word macro to check, upon file exit or file close, that certain specified text fields (legacy form fields, not content controls) are empty.
I have code that is a pretty intrusive warning box. ...
0
votes
0
answers
587
views
PAYPAL payment gateway "Billing Phone is a required field." issue in woocomerce checkout
I am working on a woocomerce project that has Paypal as one of the payment gateway options.
Here I am using WooCommerce PayPal Payments plugin by WooCommerce for integration.
Now while I am testing, ...
0
votes
1
answer
291
views
How can I add weeks to current date and return a result in the form field?
I am using the following code to display the date in a form.
In the form I have a field titled "Duration" being weekly rental eg 3 weeks, 5 weeks etc..
I would like the "Return Date&...
0
votes
1
answer
848
views
Cannot be used as a JSX component. Return type 'void' is not a valid JSX element.ts(2786)
And it returns me this: 'FormField' cannot be used as a JSX component. Its return type 'void' is not a valid JSX element.ts(2786) I don't know what I'm doing wrong.
I've created a component called '...
0
votes
1
answer
99
views
CodeIgniter3 form_dropdown() error: Undefined variable
I want to populate a list of names in a dropdown list using form_dropdown(...) and fetch the matching name accordingly.
Both my model and controller classes seem to be working fine, but I am unable to ...
0
votes
1
answer
126
views
Call js function every time DjangoForm is loaded?
I have next form:
class ExampleForm(forms.ModelForm):
class Meta:
model = ExampleModel
fields = ['field1', 'field2', 'field3']
widgets = {'field1': forms.Select(attrs={'onchange': '...
0
votes
0
answers
293
views
Keyboard closes directly after opening in an extended FormField
When building a custom form field by extending FormField (with a TextFormField centered within two IconButtons), I encounter unexpected issues with the keyboard.
After a state change due to a button ...
0
votes
2
answers
1k
views
Is there a way to parse the form fields of signed PDFs e.g. using Python or Java and write them to a CSV?
I would like to parse form fields from signed PDF's. With this I mean for example the checkboxes. I have already tried different ways (with Python) like PyPDF2, pikepdf or even pdfminer, however I ...
2
votes
1
answer
3k
views
Change appearance of Mat-Form-Field in Angular 15
I want to change the appearance of an Mat-Form-Field with the appearance "outline".
So it should have a wihte background and white border.
We already tried using:
encapsulation: ...
0
votes
0
answers
25
views
Submit form with radio buttons generated from an array [duplicate]
I have a list of radio buttons for guests to select whether they're attending an event or not.
A party can have several members, so multiple yes/no options can exist on the same page.
Idea is that a ...
0
votes
0
answers
130
views
How to assign an empty array to form field in react redux?
I tried to assign an empty array to the form field in react redux form.
change('data',[]) ,but it didn't worked.
other fields assigning are working when I used change('feild1', 'test data').
Can ...
0
votes
2
answers
627
views
When I use a validation script in a form field, the value ends up being empty when I submit
I started studying Javascript about two weeks ago and I'm already trying to do some stuff for my company's website.
We have a wordpress elementor website, in which I created a new registration form, ...
0
votes
1
answer
338
views
Conditional statement for DropdownButtonFormFields in registeration form
Still a newbie with flutter and was wondering if someone could help me with a problem I'm having. I am trying to create a registeration form with email, password, password confirmation, a county and a ...
0
votes
2
answers
305
views
How to fill PDF form using Sautinsoft or ASPOSE?
I'm a beginner programmer and attempting to write a vb.net code to fill pdf forms using Sautinsoft or ASPOSE. My goal is to populate the fields within a pdf template using the data from the data set. ...
0
votes
0
answers
177
views
Rails - Is there a way to autocomplete with form_tag attribute?
My search bar is using a form_tag type, and I can search and enter and it will show results, but it will not give autocompletion or suggestions when typing in the search bar.
When the user starts ...
-1
votes
1
answer
148
views
Programmatically tab out of a legacy form field
In MS Word version 2202 (2019) I have a legacy form field (a plain text box) in a document that calculates on exit and fills a number of other fields with the result of calculations.
I'm looking for a ...
3
votes
0
answers
536
views
Flutter autofill not working with latest SDK
I'm working on a form in which I want to have the functionality for autofill.
Unfortunately, I'm trying to use the AutofillGroup widget with TextField or TextFormField with autofillHints setup but ...
1
vote
1
answer
2k
views
Display HTML with live form input field
I'm wanting to have multiple input fields have a live output without having to hit submit and have the ability to copy/paste the output.
Ex:
<input id="name1">
<input id="name2&...
0
votes
1
answer
553
views
Akka Http route test with formFields causing UnsupportedRequestContentTypeRejection
I have a GET request with parameters and a formField.
It works when I use a client like Insomnia/Postman to send the req.
But the route test below fails with the error:
...
0
votes
1
answer
2k
views
Change value of Material UI input field with external javascript
Say I am visiting an online form that uses Material UI, like this https://codesandbox.io/s/material-demo-forked-kigre?file=/index.js
I want to populate the input field with some value using console ...
0
votes
1
answer
188
views
SQL Alchemy + WTForms FormField with default but don't insert empty data
So I have this wtforms:
ProfessionalAddress = FormField(AdressForm, default=lambda: ProfessionalAddress())
which links a sub form to my main form. To make sure the subform shows up, I added the ...
1
vote
1
answer
1k
views
ASP.Net MVC 5 with DropZone Can't Send Additional Parameters to Controller
Ok, I am sure this already has an answer somewhere, but I can honestly tell you that everything I have tried, has failed. Here is my current configuration:
Shared _Layout.cshtml (below the footer)
<...
0
votes
1
answer
235
views
How to change the color of a formfield its value has been modified by the user?
I have to generate a Pdf file with Itext, and make it editable by the user. Thanks to Itext, that's almost OK. There is a problem, still. How can I show a field has been modified by the user, that is ...
0
votes
0
answers
179
views
Form fields created using iText5 PDF Java library, duplicates the fields when uploaded to Adobe sign tool
Downloaded pdf with form field from code
Adobe sign tool duplicating the form fields
I have tried creating date fields and signature fields for PDF using iText5 Library and generated the PDF. In the ...
1
vote
1
answer
752
views
Adding additional information into each form field
I am using Django/Wagtail and the wagtailstreamforms package to build forms. Unfortunately you cannot add two fields side-by-side in the wagtailstreamforms form builder out of the box, so I am trying ...
0
votes
0
answers
84
views
BigCommerce API - Order Shipping Address - Form Fields - Badly Structured XML
When I use the Get Order Shipping Addresses operation of the BigCommerce API, it returns a rather badly structured XML string.
The part that is the problem is the form_fields node. Within this node, ...
2
votes
1
answer
1k
views
ERROR Error: NbFormFieldComponent must contain [nbInput]
I'm facing an issue with Nebular and Angular 12, i'm trying to add an icon inside of an input, for that i'm using the tag like the documentation told me to do.
But it return me this error :
ERROR ...
0
votes
1
answer
1k
views
Extracting form field data from Adobe Signed (e-signed) Acroforms using Python
I am trying to extract field names and the corresponding field values from an e-signed PDF form, which I uploaded onto Adobe Sign and obtained e-signatures.
See link: https://documentcloud.adobe.com/...
0
votes
1
answer
141
views
How to reference a WTForms Form Field in JQuery
I'm using WTForms to create a form with fields that have "sub fields" like so -
class TableName(FlaskForm):
schema = StringField('Schema', validators=[DataRequired()], id = 'schema_name')
...
0
votes
1
answer
131
views
Impossible to insert text in a FormField that is inside a single cell table
I am trying to insert data from an Access Database into a Word document.
I cannot do it using simply Merge functionality, since the information I want to get does not come always from the same ...
0
votes
0
answers
815
views
Can I have async onChange handlers for react-final-form fields ? How to update the form state from an async function?
I'm thinking about adopting react-final-form to build some admin forms that I use on my web app.
I'll need to build an input component for image uploads that should be able to do the following.
It's ...
0
votes
1
answer
582
views
How do I add a condition to the password form field that must be at least 4 characters otherwise an error
Enter your password
<input matInput id="signup-credentials-password" type="text" style="color: #999999; font-size: 16px;"
#passwordSignup minlength=&...
0
votes
2
answers
626
views
Unable to set value of FormField.Result if it is not set to Fill-in Enabled
Beginning in build 2102 of MS Word, a very elaborate document that I have created no longer works properly.
My form makes extensive use of FormFields. Starting with build 2102, it appears that Word ...
1
vote
1
answer
691
views
How to remove a field from a form in the Sylius admin backend?
I'm working on a Sylius application and want to remove a form in the admin backend.
In this special case it's the field on_hand (in the ProductVariant creation and update context), that shouldn't be ...