Questions tagged [forms]

46044 questions
1

votes
1

answer
160

Views

How do I add a notification within a master detail page that slides from the right when a button is pressed

I need to add a notification content that will slide from the right when a button in the header is pressed. The header is a boxview with buttons inside. This is what I am trying to achieve: This is what I have now(button does nothing):
Scar
1

votes
1

answer
58

Views

How can I get the current user's group in forms.py in Django?

I have a scenario where i need to pass the logged-in user's groud name and get the list users in that group. forms.py -- in the below code i need to pass the user's group instead of Banglore class UpateTaskMaster(forms.ModelForm): def __init__(self, *args, **kwargs): super(UpateTaskMaster, self).__i...
Mohamed Naveen
1

votes
1

answer
190

Views

add service reference to xamarin project

How can I add 'service reference' in Cross Platform (Xamarin Forms) e .NET Standard code strategy in vs2017? (image 1) image1. I can't add service reference to my project, I read many forum but in my .csproj I don't have target framework profile for edit it to 78. (image2) image2
Dracarys
1

votes
2

answer
166

Views

I am having errors with Django authenticated built-in function

I have been woking in django for a while. Now i am facing some problems with built-in function in django. The error state that TypeError: 'bool' object is not callable. This kind of error happened because of statement 'print(request.user.is_authenticated())'. Here below is source code: def login_pa...
I Love Coding
1

votes
0

answer
46

Views

Keeping page layout in control updates

I have managed to create a custom renderer for Page in iOS that handles keyboard events and using Element.LayoutTo() I change the area that page renders to, and hence bring my controls into view while the keyboard is open. The problem is once any control changes (ex. a label text changes) the page l...
Emad
1

votes
1

answer
155

Views

Angular Forms not working on live server

**I have used Reactive Form but its not working on live but on local it is working fine. The page gets refreshed while submitting the form. There is no error in console. ** I am new to Angular 4, any help will be highly appreciated. Functionality is listed below: signup.html Please enter your Firs...
Anand Kumar
1

votes
0

answer
178

Views

cant access a file path from xamarin forms project

I have a recording play, stop , playback and send email functionality that was develop in xamarin (PCL) and it is called from the portable using Depency services . the problem is the attachment is not found,I am 100 % that exist and it is save in the phone. when I track the path in the phone is '/...
Pxaml
1

votes
0

answer
37

Views

Composite component with ReactiveFormsModule - ExpressionChangedAfterItHasBeenCheckedError

I'm trying to create a composite component (a component that contains other 'input' components). However, I can't make it work due to ExpressionChangedAfterItHasBeenCheckedError issue, that is thrown when a component is being initialized. Here's a demo of the issue that I managed to reproduce: https...
dragonfly
1

votes
1

answer
58

Views

jQuery(ajax) submit form

I am having some issues with $.ajax post method. I would like my form to submit form data while on the current page, however for some odd reason my script is redirecting to the action page. Please could someone identify what's causing this to happen and how I can resolve this problem? Here is my scr...
Crossfire151
1

votes
0

answer
60

Views

html and php form will not submit to email?

I've been trying to submit a form that is on my website but the form will not submit. I am not a php expert and I can not tell where my error is. The php file opens instead of sending to my two emails. html and I have the php file in the main directory and it contains and my form validation is in in...
Alase Ruth
1

votes
1

answer
15

Views

How to add value of form-field to a URL opens when the form has submitted

I want to add values of text-box and a combo-box to a URL opens when the submit button pressed. ex:- My first website is : www.example.com My second website is : www.example2.com Then, below form is at second web-site. When it was submitted, submitter must send to www.example.com/?sld='value-of-tex...
Shon Max
1

votes
0

answer
287

Views

Unable to export entire data of Sitecore WFFM form into excel via form reports

I am working on Sitecore 8.2 rev.161221 and Web Forms for Marketers 8.2 rev. 161129. When I'm exporting a form data into excel using 'Export form data to Excel' option inside Form Report it is giving me only 2-3 days data and not entire data from the beginning. During wffm installation i run the sc...
user9152709
1

votes
3

answer
3.5k

Views

How to generate PDF from an html page

I have a form which is displayed using my custom plugin. Below given is code to display form using plugin: $question = $wpdb->get_results('SELECT * FROM $table_name1 WHERE group_id=$id'); $instruction = $question[0]->instructions; $html = 'Instructions'.$instruction.'Download'; $arr_size = sizeof($...
Sandra
1

votes
0

answer
67

Views

Transform address string to (new) address entity before persisting data to database using a Symfony DataTransformer

I have a problem defining a special kind of form using Symfony2 3.3. General description of the problem: Storing postal address data in a flexible and clean way with reduced duplicates is a difficult task, because there are so many combinations of address components like street, streetnumber, zipcod...
A. Schmidt
1

votes
1

answer
184

Views

Form Not Submitting PHP

I am having some trouble, I am trying to submit a form with php and phpmailer. So what I did is trying to make a form following w3school complete form example and then I wondered if I could send it through email. I found phpmailer and I tried using it but it is not sending. I am using the $contactse...
0

votes
0

answer
2

Views

Duplicate form key when trying to use across multiple pages

I have 3 different pages in my flutter app dealing with forms. One is a login, one is signup, and one is to query trails. I put all my helper functions in a 4th file called authentication.dart. I only created final formkey = GlobalKey() in authentication.dart and when I try to switch screens, I rece...
Mike1982
1

votes
0

answer
87

Views

How to use formatvalue filter for field in form template?

In Django templates, we use the filter on value fields such as {{value | formatvalue}} I want to generate my form dynamically like the example below. {% for field in form %} {{ field }} {% endfor %} As you know, the field attribute will be generated as an html element. Is there a way to add a filter...
Harun ERGUL
1

votes
1

answer
50

Views

Can't pass data from view to controller

I have a strange problem. I can't pass the data from form to controller. I think my code was right, but I don't know why it can't pass the data- and always says 'failed'. I've tried to print the data that I post, but it says 'no data'. Maybe there is something I forgot to do, and can you help me? He...
kitcat
1

votes
2

answer
966

Views

Xamarin forms gradient frame renderer for iOS

i am creating a custom renderer for Xamarin.Forms Frame control to enable extended functionality like gradient background. for now i got it to work somehow on iOS but i am working on the android version too. First i tried to override the SetupLayer method as it is in the default frame renderer see h...
Iemanuel
1

votes
0

answer
310

Views

FormGroup.patchValue not patching object element correctly Ionic 2 Angular 2

I know guys there are lot of solutions regarding this question. But none works for me. I'm working with Ionic 2 Angular 2. On keyup event I want to patch Validator.required. Here Ownership is ion-select with 2 ion-options. On selecting Double 2 more fields open. I want to validate both first and sec...
Zeeshan Malik
1

votes
0

answer
153

Views

How to add a function to Xamarin Forms WebView long-press event?

I'm relatively new to Xamarin.Forms. I want to trigger a function for a long-press gesture event on a link in the WebView, such as popping up a context menu. The default WebView does not respond to the built-in gesture recognizer as I understood from this example. It does seem like XLabs' HybridWebV...
Polarts
1

votes
0

answer
103

Views

'Symfony3' - 'fosuserbundle' form - add group to user

I use Symfony 3 with the fosuserbundle, and want to create a form, that will add multiple groups to one user. The layout is not the problem, but to building the form and submitting... Here is the sourcecode with the important parts: https://pastebin.com/tyFP8XGK The current problem is that if I ha...
padhie
1

votes
2

answer
41

Views

use $_GET['']; value inside $_POST[''] and submit it to the same page and display in the same page

i am new to php and while i am practing i came across a problem. actually,i have two files index1.php and index2.php. in index1.php i have a link with a unique id as
Orzoon
1

votes
0

answer
153

Views

how to send form data with submit to bootstrap modal

i have a form and I need to send value to bootstrap modal in this page. now i don't know how to type action='' or modal or submit. thanks. First name: Last name: × Modal Header write some code html and php and use form post firstname and lastname in this area Close
majid Peidaei
1

votes
1

answer
310

Views

Gravity form chosen for select not working on mobile device

I have used gravity form on my WordPress site. I have selected dropdown for state and postcode. I have also checked the Enhanced user interface checkbox but, It was not enabling chosen on my dropdown field for a mobile device. screensoot of drop-down field Is there any options on chosen or gravity f...
1

votes
2

answer
224

Views

passing the EntityManager from an EntityType to another EntityType

I'm using Symfony 3.3. - Summary: I have a form which I have to validate in the Controller, the entity used in the validation contains an ArrayCollection attribute, which means that I'm going to validate an embeded forms using 2 EntityType classes (a parent one having a CollectionType of child one)....
1

votes
0

answer
185

Views

How to stick a button to the top of the screen in Xamarin.Forms

I've been trying to get better at implementing UI in Xamarin.Forms. I have been searching online and on my phone for cool layouts and trying to recreate them in Xamarin.Forms to increase my skills. I want to recreate the UI for playlists in Spotify on iOS (possibly Android as well but I don't know)....
GBreen12
1

votes
1

answer
57

Views

How do I pass multiple images uploaded through a JS function and then submitted with the form?

I'm trying to have multiple images uploaded by a user passed through a function and then processed with the submit of the form. I have the following form which takes in the users upload files:
clutch1020
1

votes
1

answer
54

Views

Whitespace instead Entry / Xamarin.Forms Android Emulator

there's a very special case in my Project with Xamarin.Forms (V2.5) Entry. I got a nested Grid with a button and two entries (also nested in a frame) in it. The button is bound to my VM and sets the visibility of these entries (if true, hide one and - over a converter - pop up the other). The text-p...
Marco
1

votes
1

answer
394

Views

Xamarin high memory usage

I'm developing an app in Xamarin, but when I show a map on a page it doubles the memory usage. When I pop the page and open it again, it increases even more. Now It seems to be fixed when I use the garbage collector GC.Collect(); I was wondering when it's the best moment to call it. Personally I was...
JeroenM
1

votes
1

answer
415

Views

AWS Cognito User Pool Sign In Missing Authentication Token

I am trying to authenticate my user in a Xamarin Forms cross platform app using AWS Cognito User Pools. I am able to sign up a user using the SignUpAysnc() and I can see it populate in the user pool in the AWS console. CognitoUserPool userPool = AmazonUtils.UserPool; Dictionary userAttributes = new...
Poodle Galluzzo
1

votes
1

answer
51

Views

Remove required attribute google recapture v3

I have a Google recapture on a form which unfortunately is not model binded and so model validation does not work. I use form collection to deal with form submitted values in the controller. I am able to prevent form submission if captcha is not checked in the controller and redirect back to form...
Diin
1

votes
2

answer
227

Views

Create file in Xamarin Cross Platform App Development

I'm new to Xamarin. I'm trying to create a file using code string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal); string filename = Path.Combine(path, 'myfile.txt'); using (var streamWriter = new StreamWriter(filename, true)) { streamWriter.WriteLine(DateTime.UtcNow); } using (...
1

votes
0

answer
49

Views

How to re-increment each id attribute in Formset after deleting a Form in Django?

I currently have a formset rendered to a template, where I do a for loop over it to display each form. I have a button which adds extra forms and I also have a delete button which removes any of the forms. My problem is when I delete one of the middle forms, the incrementing from the formset managem...
David Arce
1

votes
0

answer
171

Views

Django Form post method returning error

I'm making a single page chat app which will list all the message I post. The thing is in order to make the list and the form appear in single page, I have to define a single view(from what I understand. I'm pretty new to Django.) that point to a url. My django files are like this: chat/urls.py fro...
user8703143
1

votes
1

answer
121

Views

Conditional calculated form

I have a form which auto calculates the selections in real time. In the script below, there is an example of two form selection fields, they both have their values for the calculation, however I am wondering if its possible to have the 2nd select form have a value that multiplies with the selection...
Dil Marc
1

votes
0

answer
46

Views

Display JSON list from dynamically created list

Alright, so I have not worked with JSON before. So far I am able to display the last information entered, but I need to display each input that is entered. How can I loop through my current function to do this? Would I need to do a for loop? If so, could I get some tips on how that would look? Any h...
ICode4Fun
1

votes
1

answer
40

Views

Issue with jQuery 'combo button' click handling

I'm looking for some help with a button interaction I'm putting together. The idea is that the user will click the 'RESET' button, and then have to cancel or confirm in order to reset a form. The .replace() methods are working as expected, and my 'RESET' button becomes a 'CANCEL' / 'CLEAR' combo bu...
JRiggles
1

votes
1

answer
441

Views

React final form multipart data

I am using react-final-form for handling form data in my component. How can I submit multipart form data using react-final-form?
Ryan Dsouza
1

votes
0

answer
501

Views

Refresh GridView in xamarin.forms xaml

I have a GridView and each tile contains user-specific details hence I would like a refresh on this view if the user's details had to change while using the app. I've tried the following approach by adding a refresh for one of my tiles but this doesn't work. Is there any other way to achieve this fo...
Janine Alexander

View additional questions