How can one achieve following in exposed fliters  FILTER ONE (PARENT) FILTER TWO ( CHILD ) FILTER THREE ( GRAND CHILD )..  I dont want SHS or HS,   Please guide.
I have 3 fields ( Exposed filter ) 1 Country 2 State 3 City  When a respective Country is selected in the 1st field, I want the second filter ( Dropdown or autocompete ) to display states of the country selected in the 1st field &amp; when this is done based on the state selection , I want the 3rd field to show only the cities belonging to the state selected in the second field.  How can this be done ? any help ?
Using R, I have fitted a linear model for a single response variable from a mix of continuous and discrete predictors. This is uber-basic, but I'm having trouble grasping how a coefficient for a discrete factor works.   Concept: Obviously, the coefficient of the continuous variable 'x' is applied in the form y = coefx(varx) + intercept but how does that work for a factor z if the factor is non-numeric? y = coefx(varx) + coefz(factorz???) + intercept   Specific: I have fitted a model in R as lm(log(c) ~ log(d) + h + a + f + h:a) where h and f are discrete, non-numeric factors. The coefficients are:  Coefficients:               Estimate  (Intercept)  -0.679695  log(d)        1.791294  h1            0.870735   h2           -0.447570   h3            0.542033    a             0.037362   f1           -0.588362   f2            0.816825  f3            0.534440 h1:a         -0.085658 h2:a         -0.034970  h3:a         -0.040637   How do I use these to create the predictive equation:  log(c) =  1.791294(log(d)) + 0.037362(a) + h??? + f???? + h:a???? + -0.679695   Or am I doing it wrong?   I THINK that that concept is if the subject falls in category h1 and f2, the equation becomes:   log(c) =  1.791294(log(d)) + 0.037362(a) +  0.870735  + 0.816825  + h:a???? + -0.679695   But I'm really not clear on how the h:a interactive term gets parsed. Thanks for going easy on me. Proving a trig identity: $\frac{\sin(A + B)}{\sin(A - B)}=\frac{\tan A + \tan B}{\tan A - \tan B}$ Showing that $\sum_{i=1}^n \frac{1}{i} \geq \log{n}$ I have been trying to prove this by induction on $n\in \mathbb{N}$, but this approach seemed to get me nowhere. I have a suspicion it might be necessary to express $\log{n}$ as $\int_1^n 1/x\text{ }dx$, but I could not build a rigorous argument from that.  Any help greatly appreciated! Cyrillic monospaced font in XeLaTeX I've installed full TexLive 2011 using "install-tl" script in Ubuntu 12.04.  When I was using TexLive 2009 from repositories the following file was compiled without any errors.  \documentclass{article} % XeLaTeX \usepackage{xltxtra} \usepackage{xunicode}  % Fonts \setmainfont{Arial} \newfontfamily\cyrillicfont{Arial} \setmonofont{Courier New}  % Lang \usepackage{polyglossia} \setmainlanguage{russian} \setotherlanguage{english}  \begin{document} English normal.  \texttt{English monospace}.  Русский обычный.  \texttt{Русский моноширинный}.  % Text in Russian \end{document}   But XeLaTeX from TexLive 2011 gives this error:     ERROR: Package polyglossia Error:       --- TeX said ---   The current roman font does not contain the Cyrillic script!   Please define \cyrillicfont with \newfontfamily.      See the polyglossia package documentation for explanation.   Type  H   for immediate help.    ...                                                    l.17 ...nglish normal.  \texttt{English monospace}                                                     .   In spite of this error the output PDF is correct.  The error remains if comment out \setmonofont{Courier New}.  Using Courier New as main font gives no error on normal text (without \texttt, \textbf and so on).  Using DejaVu Sans Mono as monospaced font gives no error too.  I've been searching for solution few hours but there aren't any.  Maybe this is a bug in Polyglossia or Fontspec? Prove that the union of two disjoint countable sets is countable I'm new with LaTeX and I'm trying to make a table with the elements centered vertically and horizontally. I've searched for this question, it seems like most people were trying to do things a little more complicated than this, resulting in complicated answers I couldn't understand. The table below is already centered horizontally, but the elements are aligned to the top of the cells instead of the center. How do I fix this?      \begin{tabular}{*{5}{|c}|}         \hline         $p$ &amp; $q$ &amp; $p \land q$ &amp; $p \lor q$ &amp; $p \to q$\\         \hline         T &amp; T &amp; T &amp; T &amp; T\\         \hline         T &amp; F &amp; F &amp; T &amp; F\\         \hline         F &amp; T &amp; F &amp; T &amp; T\\         \hline         F &amp; F &amp; F &amp; F &amp; T\\         \hline     \end{tabular} After hitting 80% LTV, my mortgage lender refuses to remove PMI. Any recourse? I recently refinanced my home. At the time based on the appraisal vs. amortization I found I would be stuck with PMI (private mortgage insurance) for about 9 months.  I've paid extra on the mortgage each month and after 7 months I got my LTV (loan-to-value ratio) to be 79%. Yay! So I called Pacific Union and asked for PMI to be removed.  The woman said I'd need to fax in a written request. Then she added that my written request would likely be denied because my account had not been in good standing the last 12 months. I pointed out that I'd only had the loan for 7 months and had never been late, but that didn't seem to matter to her.  So I faxed in my written request. Then I read through all my documentation on my loan. Nowhere did it say that I needed to have the loan for 12 months.  After a week I called them back and they said it would be another week for a decision.  So, I waited another week and called. They now just had a recording saying they were too busy to take a call and I could leave a callback number. I did this and never heard back. I've now tried twice more to call them. Each time I leave a number and each time I don't hear back. So I've fired off a written request again.  At this point we've gone around the horn to the next month and in two short days I'll be paying PMI on March's payment.  Do they have any grounds to not remove PMI? Isn't it federally mandated that PMI must be removed at 80%? Any recourse anyone can think of?  [EDIT] - I heard back from Pacific Union. They state that I did not sign anything agreeing to these terms which is what I was certain of. They state these terms are simply automatic with Fannie Mai backed loans and it doesn't matter if I was informed or not about these terms. They also chose not to hide behind the "no late payments" clause and instead said they were requiring an appraisal to remove PMI. Of course an appraisal is $400 and I'll hit 78% LTV before I would pay that much extra in PMI. I have now contacted a lawyer. I'll update again with whatever opinion the lawyer has and whether I proceed or not.  [EDIT] - I filed a BBB complaint. They waited 30+ days to respond. In their response they indicate that the first woman (and some SE users below) are wrong. The loan does NOT have to be in good standing for 12 months. The loan simply needs no late payments within 12 months. They then hide behind the request for another appraisal as the sole reason to not remove it. I checked with Fannie Mae who backs the loan and was told this is optional per the lender, however the lender can force it and I have no recourse. Additionally, they could have asked for a Broker's Price Option (BPO) or a certificate of value which would cost me hundreds less.   At this point I cannot continue to fight them because the amount of PMI I'll pay until 78% LTV is equal to or less than the appraisal cost of $400.  [EDIT] As of August 2015 I've hit 78% LTV. I called Pacific Union to ensure that the automatic cancellation of PMI had happened. They said no, I'd need to request that in writing. This is a violation of federal law as it's supposed to be automatic. They also said they would still deny it because now they want 24 months of good history. I've sent a threatening letter off and am waiting for a reply. If any lawyers come along and read this I'd sure like to hire you.  [EDIT] After my letter they said they would remove PMI. They did not and I was charged again in September. I called them yet again and complained. They said PMI was going to be removed. They then charged my again in October! I called again. I called again and went berserk on the phone. PMI was finally removed for November 2015. First month without it. How to remove zsh alias? How to keep processes running after ending ssh session? Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine? When I gain control of a creature, do I also gain control of any auras or equipment attached to it? It seems that we are . This is the speed of our galaxy relative to the cosmic microwave background. Where does this rest frame come from? Is this special in any way (i.e., an absolute frame)? EDIT: I think the more important question is &quot;where does the CMB rest frame come from?&quot;. Prove that if for every $x \in \mathbb{R}^N$ $Ax=Bx$ then $A=B$ My cursor is moving by every selection by large increments!  Normally when I use Blender, I am able to select and move objects to any coordinate. Now, all of the sudden, when I select an object or mesh the selection moves by an inch or so in each direction.  How do I reset it to normal? Creating an arbitrary state of the quantum simple harmonic oscillator How to split the terminal into more than one "view"? Let $f:\mathbb{R}\rightarrow \mathbb{R}$ be continuous.Let $t\in\mathbb{R}$. Evaluate:$\lim_{h\rightarrow0}\frac{1}{h}\int_{t-h}^{t+h}f(s)ds$ There are no interfaces on which a capture can be done Biasing circuit - Voltage follower circuit I've installed reCAPTCHA module but spam still bypass my security and leave nasty comments. What should I do? How to block them? I came to think about some situations where it would be almost impossible to miss a melee spell attack (target is grappling you or vice versa, target is holding you or is close to you, your character already has it's hand on the target, etc.). How do you manage those situations?    Do you give an advantage to the caster? Does the spell automatically succeed? Or you just don't ask yourself the question and just play along with the base rules?